mirror of
https://mau.dev/maunium/synapse.git
synced 2025-01-05 19:43:55 +01:00
lint
This commit is contained in:
parent
117bc94cd2
commit
766a172b99
1 changed files with 3 additions and 1 deletions
|
@ -263,7 +263,9 @@ 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 in room_tags.keys():
|
||||||
tag_content = room_tags[tag]
|
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:
|
elif event.membership == Membership.LEAVE:
|
||||||
if prev_member_event_id:
|
if prev_member_event_id:
|
||||||
prev_member_event = yield self.store.get_event(prev_member_event_id)
|
prev_member_event = yield self.store.get_event(prev_member_event_id)
|
||||||
|
|
Loading…
Reference in a new issue