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

Method QueryLatestEventsAndState

roomserver/api/api.go:48–48  ·  view source on GitHub ↗
(ctx context.Context, req *QueryLatestEventsAndStateRequest, res *QueryLatestEventsAndStateResponse)

Source from the content-addressed store, hash-verified

46// Query the latest events and state for a room from the room server.
47type QueryLatestEventsAndStateAPI interface {
48 QueryLatestEventsAndState(ctx context.Context, req *QueryLatestEventsAndStateRequest, res *QueryLatestEventsAndStateResponse) error
49}
50
51// QueryBulkStateContent does a bulk query for state event content in the given rooms.

Callers 15

HasPowerLevelMethod · 0.65
RemoveRoomAliasMethod · 0.65
performRoomUpgradeMethod · 0.65
performLeaveRoomByIDMethod · 0.65
buildEventFunction · 0.65
AddRoutesFunction · 0.65
SetVisibilityFunction · 0.65
OnIncomingStateRequestFunction · 0.65

Implementers 5

Queryerroomserver/internal/query/query.go
httpRoomserverInternalAPIroomserver/inthttp/client.go
RoomserverInternalAPITraceroomserver/api/api_trace.go
syncRoomserverAPIsyncapi/syncapi_test.go
testRoomserverAPIfederationapi/routing/send_test.go

Calls

no outgoing calls

Tested by

no test coverage detected