mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Remove user from group summary when the leave the group
This commit is contained in:
parent
bb746a9de1
commit
e1dec2f1a7
1 changed files with 8 additions and 0 deletions
|
@ -822,6 +822,14 @@ class GroupServerStore(SQLBaseStore):
|
|||
"user_id": user_id,
|
||||
},
|
||||
)
|
||||
self._simple_delete_txn(
|
||||
txn,
|
||||
table="group_summary_users",
|
||||
keyvalues={
|
||||
"group_id": group_id,
|
||||
"user_id": user_id,
|
||||
},
|
||||
)
|
||||
return self.runInteraction("remove_user_from_group", _remove_user_from_group_txn)
|
||||
|
||||
def add_room_to_group(self, group_id, room_id, is_public):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue