summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2015-12-10 18:01:46 +0000
committerMark Haines <mjark@negativecurvature.net>2015-12-10 18:01:46 +0000
commite0c9f30efae8dc7d07df1d12b8e74a755e0600ca (patch)
tree0d3846edca33b49c1e4776a95733edeefebff720 /synapse/rest/client
parentMark the version as a -rc1 release candidate (diff)
parentMissing yield (diff)
downloadsynapse-e0c9f30efae8dc7d07df1d12b8e74a755e0600ca.tar.xz
Merge pull request #434 from matrix-org/markjh/forget_rooms
Add caches for whether a room has been forgotten by a user
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v1/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py
index 53cc29becb..6fe53f70e5 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -490,7 +490,7 @@ class RoomMembershipRestServlet(ClientV1RestServlet):
         )
 
         if membership_action == "forget":
-            self.handlers.room_member_handler.forget(user, room_id)
+            yield self.handlers.room_member_handler.forget(user, room_id)
 
         defer.returnValue((200, {}))