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

Method QuerySharedUsers

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

QuerySharedUsers returns a list of users who share at least 1 room in common with the given user.

(ctx context.Context, req *QuerySharedUsersRequest, res *QuerySharedUsersResponse)

Source from the content-addressed store, hash-verified

71 QueryBulkStateContentAPI
72 // QuerySharedUsers returns a list of users who share at least 1 room in common with the given user.
73 QuerySharedUsers(ctx context.Context, req *QuerySharedUsersRequest, res *QuerySharedUsersResponse) error
74 // Query a list of events by event ID.
75 QueryEventsByID(
76 ctx context.Context,

Callers 6

Test_SharedUsersFunction · 0.65
AddRoutesFunction · 0.65
QuerySharedUsersMethod · 0.65
onDeviceKeyMessageMethod · 0.65
onCrossSigningMessageMethod · 0.65
TrackChangedUsersFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 1

Test_SharedUsersFunction · 0.52