aboutsummaryrefslogtreecommitdiff
path: root/currentstateserver/api/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'currentstateserver/api/api.go')
-rw-r--r--currentstateserver/api/api.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/currentstateserver/api/api.go b/currentstateserver/api/api.go
index 520ce8d6..b778acb2 100644
--- a/currentstateserver/api/api.go
+++ b/currentstateserver/api/api.go
@@ -36,11 +36,13 @@ type CurrentStateInternalAPI interface {
}
type QuerySharedUsersRequest struct {
- UserID string
+ UserID string
+ ExcludeRoomIDs []string
+ IncludeRoomIDs []string
}
type QuerySharedUsersResponse struct {
- UserIDs []string
+ UserIDsToCount map[string]int
}
type QueryRoomsForUserRequest struct {