0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 06:33:47 +01:00

Don't send failure to self

This commit is contained in:
Erik Johnston 2015-02-18 11:30:37 +00:00
parent 36e144091b
commit 47d3ff4cf8

View file

@ -128,6 +128,9 @@ class TransactionQueue(object):
@defer.inlineCallbacks @defer.inlineCallbacks
def enqueue_failure(self, failure, destination): def enqueue_failure(self, failure, destination):
if destination == self.server_name:
return
deferred = defer.Deferred() deferred = defer.Deferred()
self.pending_failures_by_dest.setdefault( self.pending_failures_by_dest.setdefault(