aboutsummaryrefslogtreecommitdiff
path: root/roomserver/api/api.go
diff options
context:
space:
mode:
authorTill <2353100+S7evinK@users.noreply.github.com>2022-11-11 10:35:17 +0100
committerGitHub <noreply@github.com>2022-11-11 10:35:17 +0100
commit0193549201299f5dcce919b2aeb3b1c40bdfcefa (patch)
tree26282099455ce227b13459403a93d858cb73e3ba /roomserver/api/api.go
parentefa50253f68f8ec1c6a9f4a8d82b329512027b00 (diff)
Send presence to newly added servers (#2869)
This should make `New federated private chats get full presence information (SYN-115)` happy.
Diffstat (limited to 'roomserver/api/api.go')
-rw-r--r--roomserver/api/api.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/roomserver/api/api.go b/roomserver/api/api.go
index a1373a62..01e87ec8 100644
--- a/roomserver/api/api.go
+++ b/roomserver/api/api.go
@@ -177,6 +177,7 @@ type FederationRoomserverAPI interface {
QueryBulkStateContentAPI
// QueryServerBannedFromRoom returns whether a server is banned from a room by server ACLs.
QueryServerBannedFromRoom(ctx context.Context, req *QueryServerBannedFromRoomRequest, res *QueryServerBannedFromRoomResponse) error
+ QueryMembershipsForRoom(ctx context.Context, req *QueryMembershipsForRoomRequest, res *QueryMembershipsForRoomResponse) error
QueryRoomVersionForRoom(ctx context.Context, req *QueryRoomVersionForRoomRequest, res *QueryRoomVersionForRoomResponse) error
GetRoomIDForAlias(ctx context.Context, req *GetRoomIDForAliasRequest, res *GetRoomIDForAliasResponse) error
QueryEventsByID(ctx context.Context, req *QueryEventsByIDRequest, res *QueryEventsByIDResponse) error