mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-15 23:00:19 -04:00
Merge remote-tracking branch 'upstream/release-v1.53'
This commit is contained in:
commit
d12ff25f13
148 changed files with 4222 additions and 2281 deletions
|
@ -1347,8 +1347,8 @@ class SyncHandler:
|
|||
if sync_result_builder.since_token is not None:
|
||||
since_stream_id = int(sync_result_builder.since_token.to_device_key)
|
||||
|
||||
if since_stream_id != int(now_token.to_device_key):
|
||||
messages, stream_id = await self.store.get_new_messages_for_device(
|
||||
if device_id is not None and since_stream_id != int(now_token.to_device_key):
|
||||
messages, stream_id = await self.store.get_messages_for_device(
|
||||
user_id, device_id, since_stream_id, now_token.to_device_key
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue