mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 00:44:49 -04:00
Allow users to forget rooms
This commit is contained in:
parent
b697a842a5
commit
ba26eb3d5d
6 changed files with 81 additions and 4 deletions
|
@ -743,6 +743,9 @@ class RoomMemberHandler(BaseHandler):
|
|||
)
|
||||
defer.returnValue((token, public_key, key_validity_url, display_name))
|
||||
|
||||
def forget(self, user, room_id):
|
||||
self.store.forget(user.to_string(), room_id)
|
||||
|
||||
|
||||
class RoomListHandler(BaseHandler):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue