MCPcopy Create free account
hub / github.com/daodst/chat / QueryServerAllowedToSeeEvent

Method QueryServerAllowedToSeeEvent

roomserver/api/api.go:183–183  ·  view source on GitHub ↗

Query whether a server is allowed to see an event

(ctx context.Context, req *QueryServerAllowedToSeeEventRequest, res *QueryServerAllowedToSeeEventResponse)

Source from the content-addressed store, hash-verified

181 QueryMissingEvents(ctx context.Context, req *QueryMissingEventsRequest, res *QueryMissingEventsResponse) error
182 // Query whether a server is allowed to see an event
183 QueryServerAllowedToSeeEvent(ctx context.Context, req *QueryServerAllowedToSeeEventRequest, res *QueryServerAllowedToSeeEventResponse) error
184 QueryRoomsForUser(ctx context.Context, req *QueryRoomsForUserRequest, res *QueryRoomsForUserResponse) error
185 QueryRestrictedJoinAllowed(ctx context.Context, req *QueryRestrictedJoinAllowedRequest, res *QueryRestrictedJoinAllowedResponse) error
186 PerformInboundPeek(ctx context.Context, req *PerformInboundPeekRequest, res *PerformInboundPeekResponse) error

Callers 3

AddRoutesFunction · 0.65
allowedToSeeEventFunction · 0.65

Implementers 2

httpRoomserverInternalAPIroomserver/inthttp/client.go
RoomserverInternalAPITraceroomserver/api/api_trace.go

Calls

no outgoing calls

Tested by

no test coverage detected