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

Method GetJoinedHosts

federationapi/storage/interface.go:31–31  ·  view source on GitHub ↗
(ctx context.Context, roomID string)

Source from the content-addressed store, hash-verified

29 UpdateRoom(ctx context.Context, roomID string, addHosts []types.JoinedHost, removeHosts []string, purgeRoomFirst bool) (joinedHosts []types.JoinedHost, err error)
30
31 GetJoinedHosts(ctx context.Context, roomID string) ([]types.JoinedHost, error)
32 GetAllJoinedHosts(ctx context.Context) ([]gomatrixserverlib.ServerName, error)
33 // GetJoinedHostsForRooms returns the complete set of servers in the rooms given.
34 GetJoinedHostsForRooms(ctx context.Context, roomIDs []string, excludeSelf bool) ([]gomatrixserverlib.ServerName, error)

Callers 2

onMessageMethod · 0.65
onMessageMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected