0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-28 23:48:19 +02:00

Convert to int

This commit is contained in:
Erik Johnston 2017-05-31 17:03:08 +01:00
parent b2d8d07109
commit f1378aef91

View file

@ -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 []