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

Method PerformDirectoryLookup

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

PerformDirectoryLookup looks up a remote room ID from a room alias.

(ctx context.Context, request *PerformDirectoryLookupRequest, response *PerformDirectoryLookupResponse)

Source from the content-addressed store, hash-verified

46
47 // PerformDirectoryLookup looks up a remote room ID from a room alias.
48 PerformDirectoryLookup(ctx context.Context, request *PerformDirectoryLookupRequest, response *PerformDirectoryLookupResponse) error
49 // Handle an instruction to make_join & send_join with a remote server.
50 PerformJoin(ctx context.Context, request *PerformJoinRequest, response *PerformJoinResponse)
51 // Handle an instruction to make_leave & send_leave with a remote server.

Callers 3

AddRoutesFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected