summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-04-12 10:17:10 +0100
committerErik Johnston <erik@matrix.org>2017-04-12 10:17:10 +0100
commit17450695438c0ed59d64e669ef6861316cef43af (patch)
treef0d31470470920bf56bcf60fec3295d8e44f35e7 /synapse
parentReuse get_interested_parties (diff)
downloadsynapse-17450695438c0ed59d64e669ef6861316cef43af.tar.xz
Comment
Diffstat (limited to 'synapse')
-rw-r--r--synapse/federation/transaction_queue.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py
index feb1605019..2919c2351a 100644
--- a/synapse/federation/transaction_queue.py
+++ b/synapse/federation/transaction_queue.py
@@ -77,12 +77,11 @@ class TransactionQueue(object):
         # destination -> list of tuple(edu, deferred)
         self.pending_edus_by_dest = edus = {}
 
-        # Presence needs to be separate as we send single aggragate EDUs
-
         # Map of user_id -> UserPresenceState for all the pending presence
         # to be sent out by user_id. Entries here get processed and put in
         # pending_presence_by_dest
         self.pending_presence = {}
+
         # Map of destination -> user_id -> UserPresenceState of pending presence
         # to be sent to each destinations
         self.pending_presence_by_dest = presence = {}