summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-09 11:00:15 +0100
committerErik Johnston <erik@matrix.org>2016-09-09 11:00:15 +0100
commitb3907561506a98d7e8bbe66efe2037df7ceb70fa (patch)
treec2760124824a8156cf63dda02ddb773fc74786b6 /synapse/federation
parentMerge pull request #1081 from matrix-org/dbkr/notifications_only_highlight (diff)
downloadsynapse-b3907561506a98d7e8bbe66efe2037df7ceb70fa.tar.xz
Update last_device_stream_id_by_dest if there is nothing to send
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/transaction_queue.py1
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(