diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-01-22 13:23:26 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-01-22 13:51:40 +0000 |
commit | 766a172b9911ff04ae3b314155462dfd40c76fba (patch) | |
tree | ef2d90d51ffb747b362d7dcf52fba3ed7fb77d91 /synapse/handlers/room_member.py | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into anoa/dm_room_upg... (diff) | |
download | synapse-766a172b9911ff04ae3b314155462dfd40c76fba.tar.xz |
lint
Diffstat (limited to 'synapse/handlers/room_member.py')
-rw-r--r-- | synapse/handlers/room_member.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py index cdaf65cdef..eb46f5f4fa 100644 --- a/synapse/handlers/room_member.py +++ b/synapse/handlers/room_member.py @@ -263,7 +263,9 @@ class RoomMemberHandler(object): # Copy each room tag to the new room for tag in room_tags.keys(): tag_content = room_tags[tag] - yield self.store.add_tag_to_room(user_id, room_id, tag, tag_content) + yield self.store.add_tag_to_room( + user_id, room_id, tag, tag_content + ) elif event.membership == Membership.LEAVE: if prev_member_event_id: prev_member_event = yield self.store.get_event(prev_member_event_id) |