diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-18 11:32:39 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-18 11:32:39 +0000 |
commit | b68e4a729ff91372a3a7269acc08c1f77584b0f4 (patch) | |
tree | aadd0b5b9adbccc91681ea41533711c61e782a2e | |
parent | Don't send failure to self (diff) | |
download | synapse-b68e4a729ff91372a3a7269acc08c1f77584b0f4.tar.xz |
Discard destination 'localhost'
Diffstat (limited to '')
-rw-r--r-- | synapse/federation/transaction_queue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/transaction_queue.py b/synapse/federation/transaction_queue.py index f0041d4d12..06944eefb9 100644 --- a/synapse/federation/transaction_queue.py +++ b/synapse/federation/transaction_queue.py @@ -107,7 +107,7 @@ class TransactionQueue(object): def enqueue_edu(self, edu): destination = edu.destination - if destination == self.server_name: + if destination == self.server_name or destination == "localhost": return deferred = defer.Deferred() @@ -128,7 +128,7 @@ class TransactionQueue(object): @defer.inlineCallbacks def enqueue_failure(self, failure, destination): - if destination == self.server_name: + if destination == self.server_name or destination == "localhost": return deferred = defer.Deferred() |