summary refs log tree commit diff
path: root/synapse/federation/transaction_queue.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-29 22:58:38 +0000
committerErik Johnston <erik@matrix.org>2019-01-29 22:58:38 +0000
commit67b82f133631879244773421988d52b1eb626d78 (patch)
treeb62b1658804c8f76cde6f5a9d24e7aff3af56438 /synapse/federation/transaction_queue.py
parentFixup comment (diff)
parentMerge pull request #4514 from matrix-org/erikj/remove_event_id (diff)
downloadsynapse-67b82f133631879244773421988d52b1eb626d78.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/redactions_eiah
Diffstat (limited to 'synapse/federation/transaction_queue.py')
-rw-r--r--synapse/federation/transaction_queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py
index fe787abaeb..1f0b67f5f8 100644
--- a/synapse/federation/transaction_queue.py
+++ b/synapse/federation/transaction_queue.py
@@ -175,7 +175,7 @@ class TransactionQueue(object):
                 def handle_event(event):
                     # Only send events for this server.
                     send_on_behalf_of = event.internal_metadata.get_send_on_behalf_of()
-                    is_mine = self.is_mine_id(event.event_id)
+                    is_mine = self.is_mine_id(event.sender)
                     if not is_mine and send_on_behalf_of is None:
                         return