mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 04:44:52 -04:00
Implement GET /groups/$groupId/invited_users
This commit is contained in:
parent
6079d0027a
commit
2c5972f87f
6 changed files with 115 additions and 1 deletions
|
@ -56,6 +56,18 @@ class GroupServerStore(SQLBaseStore):
|
|||
desc="get_users_in_group",
|
||||
)
|
||||
|
||||
def get_invited_users_in_group(self, group_id):
|
||||
# TODO: Pagination
|
||||
|
||||
return self._simple_select_onecol(
|
||||
table="group_invites",
|
||||
keyvalues={
|
||||
"group_id": group_id,
|
||||
},
|
||||
retcol="user_id",
|
||||
desc="get_invited_users_in_group",
|
||||
)
|
||||
|
||||
def get_rooms_in_group(self, group_id, include_private=False):
|
||||
# TODO: Pagination
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue