mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-21 10:54:10 +01:00
Don't talk to yourself when backfilling
This commit is contained in:
parent
e122685978
commit
80fd2b574c
1 changed files with 2 additions and 0 deletions
|
@ -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())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue