Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix returned token is no longer a tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed May 9, 2018
1 parent 7ce9880 commit fcf55f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/handlers/initial_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def get_receipts():
self.store, user_id, messages, is_peeking=is_peeking,
)

start_token = now_token.copy_and_replace("room_key", token[0])
start_token = now_token.copy_and_replace("room_key", token)
end_token = now_token

time_now = self.clock.time_msec()
Expand Down

0 comments on commit fcf55f2

Please sign in to comment.