diff options
author | Erik Johnston <erik@matrix.org> | 2021-09-13 15:04:12 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2021-09-13 15:04:12 +0100 |
commit | 67cd16852215404f1544b2c007a21f0671643f64 (patch) | |
tree | 757535302ad5cd35078399844320c8fd3208c93c /synapse/federation | |
parent | Don't add reference hashes to non-v1 events (diff) | |
download | synapse-erikj/join_logging.tar.xz |
Don't fetch event from remotes github/erikj/join_logging erikj/join_logging
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/federation_client.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py index 30ce3c3ec8..d47001ffd0 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py @@ -466,18 +466,18 @@ class FederationClient(FederationBase): pdu.event_id, allow_rejected=True, allow_none=True ) - pdu_origin = get_domain_from_id(pdu.sender) - if not res and pdu_origin != origin: - try: - res = await self.get_pdu( - destinations=[pdu_origin], - event_id=pdu.event_id, - room_version=room_version, - outlier=outlier, - timeout=10000, - ) - except SynapseError: - pass + # pdu_origin = get_domain_from_id(pdu.sender) + # if not res and pdu_origin != origin: + # try: + # res = await self.get_pdu( + # destinations=[pdu_origin], + # event_id=pdu.event_id, + # room_version=room_version, + # outlier=outlier, + # timeout=10000, + # ) + # except SynapseError: + # pass if not res: logger.warning( |