mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-26 04:05:38 +00:00
Update last_device_stream_id_by_dest if there is nothing to send
This commit is contained in:
parent
b8f84f99ff
commit
b390756150
@ -200,6 +200,7 @@ class TransactionQueue(object):
|
|||||||
|
|
||||||
if not pending_pdus and not pending_edus and not pending_failures:
|
if not pending_pdus and not pending_edus and not pending_failures:
|
||||||
logger.debug("TX [%s] Nothing to send", destination)
|
logger.debug("TX [%s] Nothing to send", destination)
|
||||||
|
self.last_device_stream_id_by_dest[destination] = device_stream_id
|
||||||
return
|
return
|
||||||
|
|
||||||
yield self._send_new_transaction(
|
yield self._send_new_transaction(
|
||||||
|
Loading…
Reference in New Issue
Block a user