summary refs log tree commit diff
path: root/synapse/federation/federation_client.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-10-16 20:37:16 +0100
committerRichard van der Hoff <richard@matrix.org>2018-10-16 21:10:04 +0100
commitfc0f13dd036cec4e41f5969d021d9dd10d6e5016 (patch)
tree27c5a9a0c125ef8f8c00420f21ed1d4dade3b31c /synapse/federation/federation_client.py
parentVarious cleanups in the federation client code (#4031) (diff)
downloadsynapse-fc0f13dd036cec4e41f5969d021d9dd10d6e5016.tar.xz
Fix incorrect truncation in get_missing_events
It's quite important that get_missing_events returns the *latest* events in the
room; however we were pulling event ids out of the database until we got *at
least* 10, and then taking the *earliest* of the results.

We also shouldn't really be relying on depth, and should be checking the
room_id.
Diffstat (limited to 'synapse/federation/federation_client.py')
0 files changed, 0 insertions, 0 deletions