summary refs log tree commit diff
path: root/synapse/rest/client/v1
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-12-10 17:54:23 +0000
committerMark Haines <mark.haines@matrix.org>2015-12-10 17:54:23 +0000
commit515548a47ae0418203224a4315b88531cf28a9de (patch)
tree0d3846edca33b49c1e4776a95733edeefebff720 /synapse/rest/client/v1
parentAdd caches for whether a room has been forgotten by a user (diff)
downloadsynapse-515548a47ae0418203224a4315b88531cf28a9de.tar.xz
Missing yield
Diffstat (limited to 'synapse/rest/client/v1')
-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, {}))