summary refs log tree commit diff
path: root/synapse/handlers/room_member.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-08-20 13:54:51 +0100
committerErik Johnston <erik@matrix.org>2018-08-20 13:54:51 +0100
commite21c368b8b7c62b2f626ff6c739ea33c3c2e73bb (patch)
treec9deae7f69df6c402f7f1b88cc844cf0d612330d /synapse/handlers/room_member.py
parentNewsfile (diff)
downloadsynapse-e21c368b8b7c62b2f626ff6c739ea33c3c2e73bb.tar.xz
Revert spurious change
Diffstat (limited to 'synapse/handlers/room_member.py')
-rw-r--r--synapse/handlers/room_member.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index b6010bb41e..b8e1af580b 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -341,9 +341,9 @@ class RoomMemberHandler(object):
         prev_events_and_hashes = yield self.store.get_prev_events_for_room(
             room_id,
         )
-        latest_event_ids = [
+        latest_event_ids = (
             event_id for (event_id, _, _) in prev_events_and_hashes
-        ]
+        )
 
         current_state_ids = yield self.state_handler.get_current_state_ids(
             room_id, latest_event_ids=latest_event_ids,