diff options
author | Erik Johnston <erik@matrix.org> | 2016-04-12 11:54:41 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-04-12 11:54:41 +0100 |
commit | 0d3da210f01bb323aa7348a16fa3d19c5b8e1f0e (patch) | |
tree | ba50ce98c49848aeb4890395af716bb66fd67e33 /synapse | |
parent | Check if we've already backfilled events (diff) | |
download | synapse-0d3da210f01bb323aa7348a16fa3d19c5b8e1f0e.tar.xz |
Add comment
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/federation.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index a38300ec6a..654fd3829f 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -294,6 +294,7 @@ class FederationHandler(BaseHandler): extremities=extremities, ) + # Don't bother processing events we already have. seen_events = yield self.store.have_events_in_timeline( set(e.event_id for e in events) ) |