This commit is contained in:
Andrew Morgan 2019-02-18 18:23:37 +00:00
parent f8b9ca53ce
commit 34ac75ce2c

View file

@ -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