summary refs log tree commit diff
path: root/synapse/federation/transaction_queue.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2019-01-29 22:54:25 +0000
committerGitHub <noreply@github.com>2019-01-29 22:54:25 +0000
commit7740eddd04504af1f60a96dda08d01904a238e0b (patch)
tree4cc0284a797c9d240c10b8d4912bba1132ff289c /synapse/federation/transaction_queue.py
parentMerge pull request #4483 from matrix-org/erikj/event_v2 (diff)
parentUpdate comment (diff)
downloadsynapse-7740eddd04504af1f60a96dda08d01904a238e0b.tar.xz
Merge pull request #4514 from matrix-org/erikj/remove_event_id
Remove usages of event ID's domain
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