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

Method GetServerInRoom

roomserver/storage/interface.go:162–162  ·  view source on GitHub ↗

GetServerInRoom returns true if we think a server is in a given room or false otherwise.

(ctx context.Context, roomNID types.RoomNID, serverName gomatrixserverlib.ServerName)

Source from the content-addressed store, hash-verified

160 GetLocalServerInRoom(ctx context.Context, roomNID types.RoomNID) (bool, error)
161 // GetServerInRoom returns true if we think a server is in a given room or false otherwise.
162 GetServerInRoom(ctx context.Context, roomNID types.RoomNID, serverName gomatrixserverlib.ServerName) (bool, error)
163 // GetKnownUsers searches all users that userID knows about.
164 GetKnownUsers(ctx context.Context, userID, searchString string, limit int) ([]string, error)
165 // GetKnownRooms returns a list of all rooms we know about.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected