summary refs log tree commit diff
path: root/synapse/federation/federation_server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-05 16:35:16 +0000
committerErik Johnston <erik@matrix.org>2015-03-05 16:35:16 +0000
commit9708f49abfb5fa48c1190364093ab4ce5c4e6f23 (patch)
treeaf741ec34ef531ea7cc12ff111cb7a4b3bbc9d24 /synapse/federation/federation_server.py
parentRemove unecessary check (diff)
downloadsynapse-9708f49abfb5fa48c1190364093ab4ce5c4e6f23.tar.xz
Docs
Diffstat (limited to '')
-rw-r--r--synapse/federation/federation_server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py
index dd4ca74ba6..9c7dcdba96 100644
--- a/synapse/federation/federation_server.py
+++ b/synapse/federation/federation_server.py
@@ -419,6 +419,8 @@ class FederationServer(FederationBase):
                         min_depth=min_depth,
                     )
 
+                    # We want to sort these by depth so we process them and
+                    # tell clients about them in order.
                     missing_events.sort(key=lambda x: x.depth)
 
                     for e in missing_events: