diff options
author | Erik Johnston <erik@matrix.org> | 2015-03-05 16:35:16 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-03-05 16:35:16 +0000 |
commit | 9708f49abfb5fa48c1190364093ab4ce5c4e6f23 (patch) | |
tree | af741ec34ef531ea7cc12ff111cb7a4b3bbc9d24 /synapse | |
parent | Remove unecessary check (diff) | |
download | synapse-9708f49abfb5fa48c1190364093ab4ce5c4e6f23.tar.xz |
Docs
Diffstat (limited to '')
-rw-r--r-- | synapse/federation/federation_server.py | 2 |
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: |