mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Fix the deduplication of incoming direct-to-device messages
This commit is contained in:
parent
e993925279
commit
641efb6a39
2 changed files with 16 additions and 1 deletions
|
@ -132,5 +132,9 @@ class DeviceInboxStore(SQLBaseStore):
|
|||
)
|
||||
txn.execute(sql, (user_id, device_id, up_to_stream_id))
|
||||
|
||||
return self.runInteraction(
|
||||
"delete_messages_for_device", delete_messages_for_device_txn
|
||||
)
|
||||
|
||||
def get_to_device_stream_token(self):
|
||||
return self._device_inbox_id_gen.get_current_token()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue