summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-09-27 15:11:14 +0100
committerErik Johnston <erik@matrix.org>2019-09-27 15:11:14 +0100
commit132279a46fd76de8f767bc6977192900c450fec9 (patch)
tree3487a0848149bce40e1016d1e48c298ee15b1aba /synapse/handlers
parentMove lookup-related functions from RoomMemberHandler to IdentityHandler (#5978) (diff)
downloadsynapse-132279a46fd76de8f767bc6977192900c450fec9.tar.xz
Patch inlinecallbacks for log contexts
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/room_member.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index 8abdb1b6e6..19e44b5460 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -213,11 +213,11 @@ class RoomMemberHandler(object):
 
             if predecessor:
                 # It is an upgraded room. Copy over old tags
-                self.copy_room_tags_and_direct_to_room(
+                yield self.copy_room_tags_and_direct_to_room(
                     predecessor["room_id"], room_id, user_id
                 )
                 # Move over old push rules
-                self.store.move_push_rules_from_room_to_room_for_user(
+                yield self.store.move_push_rules_from_room_to_room_for_user(
                     predecessor["room_id"], room_id, user_id
                 )
         elif event.membership == Membership.LEAVE: