Fix returned token is no longer a tuple

This commit is contained in:
Erik Johnston 2018-05-09 15:43:00 +01:00
parent 7ce98804ff
commit fcf55f2255

View file

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