summary refs log tree commit diff
path: root/CONTRIBUTING.rst
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-17 17:35:26 +0100
commit0fd2321629f4a06bec8b552299d3ced32a7a021c (patch)
tree877e09e23d77f8d41721243b888eaca5b95b0bba /CONTRIBUTING.rst
parentMerge pull request #4052 from matrix-org/rav/ship_resources_as_package_data (diff)
downloadsynapse-0fd2321629f4a06bec8b552299d3ced32a7a021c.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 'CONTRIBUTING.rst')
0 files changed, 0 insertions, 0 deletions