diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-10-16 20:37:16 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-10-17 17:35:26 +0100 |
commit | 0fd2321629f4a06bec8b552299d3ced32a7a021c (patch) | |
tree | 877e09e23d77f8d41721243b888eaca5b95b0bba /synapse/handlers/set_password.py | |
parent | Merge pull request #4052 from matrix-org/rav/ship_resources_as_package_data (diff) | |
download | synapse-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 'synapse/handlers/set_password.py')
0 files changed, 0 insertions, 0 deletions