diff options
author | Erik Johnston <erik@matrix.org> | 2018-05-09 11:55:34 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-05-09 11:55:34 +0100 |
commit | c4af4c24ca988832018feaf0ac5a2f6dbb8bfe68 (patch) | |
tree | 9fec1d41be28a78afcffdd77b5f532e607543a81 /synapse/handlers/initial_sync.py | |
parent | Refactor pagination DB API to return concrete type (diff) | |
download | synapse-c4af4c24ca988832018feaf0ac5a2f6dbb8bfe68.tar.xz |
Refactor get_recent_events_for_room return type
There is no reason to return a tuple of tokens when the last token is always the token passed as an argument. Changing it makes it consistent with other storage APIs
Diffstat (limited to 'synapse/handlers/initial_sync.py')
-rw-r--r-- | synapse/handlers/initial_sync.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/synapse/handlers/initial_sync.py b/synapse/handlers/initial_sync.py |