diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-09 11:00:15 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-09 11:00:15 +0100 |
commit | b3907561506a98d7e8bbe66efe2037df7ceb70fa (patch) | |
tree | c2760124824a8156cf63dda02ddb773fc74786b6 /synapse/federation | |
parent | Merge pull request #1081 from matrix-org/dbkr/notifications_only_highlight (diff) | |
download | synapse-b3907561506a98d7e8bbe66efe2037df7ceb70fa.tar.xz |
Update last_device_stream_id_by_dest if there is nothing to send
Diffstat (limited to '')
-rw-r--r-- | synapse/federation/transaction_queue.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py index 633c79c352..5c7245d383 100644 --- a/synapse/federation/transaction_queue.py +++ b/synapse/federation/transaction_queue.py @@ -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( |