0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-21 08:44:00 +01:00

Don't talk to yourself when backfilling

This commit is contained in:
Erik Johnston 2015-05-12 16:19:42 +01:00
parent e122685978
commit 80fd2b574c

View file

@ -314,6 +314,7 @@ class FederationHandler(BaseHandler):
likely_domains = [ likely_domains = [
domain for domain, depth in curr_domains domain for domain, depth in curr_domains
if domain is not self.server_name
] ]
@defer.inlineCallbacks @defer.inlineCallbacks
@ -363,6 +364,7 @@ class FederationHandler(BaseHandler):
# from the time. # from the time.
tried_domains = set(likely_domains) tried_domains = set(likely_domains)
tried_domains.add(self.server_name)
event_ids = list(extremities.keys()) event_ids = list(extremities.keys())