forked from MirrorHub/synapse
lint
This commit is contained in:
parent
f8b9ca53ce
commit
34ac75ce2c
1 changed files with 3 additions and 1 deletions
|
@ -317,7 +317,9 @@ class RoomCreationHandler(BaseHandler):
|
||||||
)
|
)
|
||||||
|
|
||||||
# map from event_id to BaseEvent
|
# map from event_id to BaseEvent
|
||||||
old_room_member_state_events = yield self.store.get_events(old_room_member_state_ids.values())
|
old_room_member_state_events = yield self.store.get_events(
|
||||||
|
old_room_member_state_ids.values(),
|
||||||
|
)
|
||||||
for k, old_event in iteritems(old_room_member_state_events):
|
for k, old_event in iteritems(old_room_member_state_events):
|
||||||
# Only transfer ban events
|
# Only transfer ban events
|
||||||
if ("membership" in old_event.content and
|
if ("membership" in old_event.content and
|
||||||
|
|
Loading…
Reference in a new issue