diff options
author | Erik Johnston <erik@matrix.org> | 2018-05-09 15:43:00 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-05-09 15:43:00 +0100 |
commit | fcf55f225541bcffa4bcb32213e0fde74f7b5827 (patch) | |
tree | 8d4ebe6c76aa90ec25bd018f5f43120d8e51927a /synapse | |
parent | Fix up comment (diff) | |
download | synapse-fcf55f225541bcffa4bcb32213e0fde74f7b5827.tar.xz |
Fix returned token is no longer a tuple
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/initial_sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/initial_sync.py b/synapse/handlers/initial_sync.py index 5a9aa0c16d..71af86fe21 100644 --- a/synapse/handlers/initial_sync.py +++ b/synapse/handlers/initial_sync.py @@ -408,7 +408,7 @@ class InitialSyncHandler(BaseHandler): 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() |