diff options
Diffstat (limited to 'roomserver/api/query.go')
-rw-r--r-- | roomserver/api/query.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roomserver/api/query.go b/roomserver/api/query.go index 66e85f2f..8f84edcb 100644 --- a/roomserver/api/query.go +++ b/roomserver/api/query.go @@ -128,6 +128,8 @@ type QueryMembershipForUserResponse struct { type QueryMembershipsForRoomRequest struct { // If true, only returns the membership events of "join" membership JoinedOnly bool `json:"joined_only"` + // If true, only returns the membership events of local users + LocalOnly bool `json:"local_only"` // ID of the room to fetch memberships from RoomID string `json:"room_id"` // Optional - ID of the user sending the request, for checking if the |