diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-04 10:16:51 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-04 10:16:51 +0000 |
commit | c0462dbf1533f285f632dcb0a74c0ef0c3e2475b (patch) | |
tree | d4383193fb52f1fd0214aad73ed315b42d07e9a4 /synapse/handlers | |
parent | Add doc to get_event (diff) | |
download | synapse-c0462dbf1533f285f632dcb0a74c0ef0c3e2475b.tar.xz |
Rearrange persist_event so that do all the queries that need to be done before returning early if we have already persisted that event.
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/federation.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 86953bf8c8..0876589e31 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -515,6 +515,8 @@ class FederationHandler(BaseHandler): "Failed to get destination from event %s", s.event_id ) + destinations.remove(origin) + logger.debug( "on_send_join_request: Sending event: %s, signatures: %s", event.event_id, |