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

Method QueryJoinedHostServerNamesInRoom

federationapi/api/api.go:39–39  ·  view source on GitHub ↗

Query the server names of the joined hosts in a room. Unlike QueryJoinedHostsInRoom, this function returns a de-duplicated slice containing only the server names (without information for membership events). The response will include this server if they are joined to the room.

(ctx context.Context, request *QueryJoinedHostServerNamesInRoomRequest, response *QueryJoinedHostServerNamesInRoomResponse)

Source from the content-addressed store, hash-verified

37 // containing only the server names (without information for membership events).
38 // The response will include this server if they are joined to the room.
39 QueryJoinedHostServerNamesInRoom(ctx context.Context, request *QueryJoinedHostServerNamesInRoomRequest, response *QueryJoinedHostServerNamesInRoomResponse) error
40}
41
42type RoomserverFederationAPI interface {

Callers 8

processRoomEventMethod · 0.65
authorisedServerMethod · 0.65
fetchUnknownEventMethod · 0.65
authorisedToSeeEventMethod · 0.65
getServersForEventIDMethod · 0.65
DirectoryRoomFunction · 0.65
AddRoutesFunction · 0.65
RoomAliasToIDFunction · 0.65

Implementers 2

FederationInternalAPIfederationapi/internal/api.go
httpFederationInternalAPIfederationapi/inthttp/client.go

Calls

no outgoing calls

Tested by

no test coverage detected