diff options
author | Erik Johnston <erik@matrix.org> | 2017-05-31 17:03:08 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-05-31 17:03:08 +0100 |
commit | f1378aef9199390ae0130cc6bda5c7f4fa7a2e33 (patch) | |
tree | d01f488e149f30ebf94304d4b8d938a92123613b /synapse/storage/user_directory.py | |
parent | Lifts things into separate function (diff) | |
download | synapse-f1378aef9199390ae0130cc6bda5c7f4fa7a2e33.tar.xz |
Convert to int
Diffstat (limited to 'synapse/storage/user_directory.py')
-rw-r--r-- | synapse/storage/user_directory.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/user_directory.py b/synapse/storage/user_directory.py index 348064436f..71b0502646 100644 --- a/synapse/storage/user_directory.py +++ b/synapse/storage/user_directory.py @@ -204,6 +204,7 @@ class UserDirectoryStore(SQLBaseStore): ) def get_current_state_deltas(self, prev_stream_id): + prev_stream_id = int(prev_stream_id) if not self._curr_state_delta_stream_cache.has_any_entity_changed(prev_stream_id): return [] |