summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/transaction_queue.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py
index bd2a04af9e..4f8315e59d 100644
--- a/synapse/federation/transaction_queue.py
+++ b/synapse/federation/transaction_queue.py
@@ -154,7 +154,9 @@ class TransactionQueue(object):
             return
 
         if key:
-            self.pending_edus_keyed_by_dest.setdefault(destination, {})[key] = edu
+            self.pending_edus_keyed_by_dest.setdefault(
+                destination, {}
+            )[(edu.type, key)] = edu
         else:
             self.pending_edus_by_dest.setdefault(destination, []).append(edu)
 
@@ -228,7 +230,6 @@ class TransactionQueue(object):
                     )
 
                     pending_edus.extend(device_message_edus)
-                    logger.info("Sending presence: %r", pending_presence)
                     if pending_presence:
                         pending_edus.append(
                             Edu(