Update last_device_stream_id_by_dest if there is nothing to send

pull/1088/head
Erik Johnston 2016-09-09 11:00:15 +01:00
parent b8f84f99ff
commit b390756150
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ class TransactionQueue(object):
if not pending_pdus and not pending_edus and not pending_failures:
logger.debug("TX [%s] Nothing to send", destination)
self.last_device_stream_id_by_dest[destination] = device_stream_id
return
yield self._send_new_transaction(