Missing yield

This commit is contained in:
Mark Haines 2015-12-10 17:54:23 +00:00
parent 7d6b313312
commit 515548a47a

View file

@ -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, {}))