This commit is contained in:
Erik Johnston 2018-03-05 13:12:08 +00:00
parent 8cb44da4aa
commit 02a1296ad6

View File

@ -1390,8 +1390,8 @@ class SyncHandler(object):
# If the membership's stream ordering is after the given stream
# ordering, we need to go and work out if the user was in the room
# before.
for room_id, membeship_stream_ordering in joined_rooms:
if membeship_stream_ordering <= stream_ordering:
for room_id, membership_stream_ordering in joined_rooms:
if membership_stream_ordering <= stream_ordering:
joined_room_ids.add(room_id)
continue