Use python magic

pull/4412/head
Andrew Morgan 2019-01-25 11:26:06 +00:00
parent c4cdafa81f
commit 8265995498
1 changed files with 1 additions and 2 deletions

View File

@ -288,8 +288,7 @@ class RoomMemberHandler(object):
)
# Copy each room tag to the new room
for tag in room_tags.keys():
tag_content = room_tags[tag]
for tag, tag_content in room_tags.items():
yield self.store.add_tag_to_room(
user_id, room_id, tag, tag_content
)