diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-09-28 12:45:54 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-09-28 12:45:54 +0100 |
commit | 965154d60af59b69eac01f7cfcf821a757ae93fa (patch) | |
tree | 9cfc60a534ffbe42e43d1f8abba20e3efc29fe12 /synapse/federation | |
parent | changelog (diff) | |
download | synapse-965154d60af59b69eac01f7cfcf821a757ae93fa.tar.xz |
Fix complete fail to do the right thing
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/transaction_queue.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py index ae47aaae0b..98b5950800 100644 --- a/synapse/federation/transaction_queue.py +++ b/synapse/federation/transaction_queue.py @@ -354,7 +354,7 @@ class TransactionQueue(object): content=content, ) - if not destination == self.server_name: + if destination == self.server_name: logger.info("Not sending EDU to ourselves") return @@ -372,6 +372,7 @@ class TransactionQueue(object): def send_device_messages(self, destination): if destination == self.server_name: logger.info("Not sending device update to ourselves") + return self._attempt_new_transaction(destination) |