summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-12-10 17:49:34 +0000
committerMark Haines <mark.haines@matrix.org>2015-12-10 17:49:34 +0000
commit7d6b3133125aef802dad36d120ad23d5e33948bf (patch)
tree50ebda67e3bc25aa7b9a6d7b14ef61ba7f3daddc /synapse/handlers
parentMark the version as a -rc1 release candidate (diff)
downloadsynapse-7d6b3133125aef802dad36d120ad23d5e33948bf.tar.xz
Add caches for whether a room has been forgotten by a user
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 116a998c42..a72c3fda9f 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -755,7 +755,7 @@ 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)
+        return self.store.forget(user.to_string(), room_id)
 
 
 class RoomListHandler(BaseHandler):