mirror of
https://github.com/element-hq/synapse
synced 2024-09-04 18:20:07 +00:00
Update last_device_stream_id_by_dest if there is nothing to send
This commit is contained in:
parent
b8f84f99ff
commit
b390756150
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue