mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-18 20:14:34 +01:00
Use python magic
This commit is contained in:
parent
c4cdafa81f
commit
8265995498
1 changed files with 1 additions and 2 deletions
|
@ -288,8 +288,7 @@ class RoomMemberHandler(object):
|
||||||
)
|
)
|
||||||
|
|
||||||
# Copy each room tag to the new room
|
# Copy each room tag to the new room
|
||||||
for tag in room_tags.keys():
|
for tag, tag_content in room_tags.items():
|
||||||
tag_content = room_tags[tag]
|
|
||||||
yield self.store.add_tag_to_room(
|
yield self.store.add_tag_to_room(
|
||||||
user_id, room_id, tag, tag_content
|
user_id, room_id, tag, tag_content
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue