This commit is contained in:
Andrew Morgan 2019-02-18 18:23:37 +00:00
parent f8b9ca53ce
commit 34ac75ce2c
1 changed files with 3 additions and 1 deletions

View File

@ -317,7 +317,9 @@ class RoomCreationHandler(BaseHandler):
)
# 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):
# Only transfer ban events
if ("membership" in old_event.content and