summary refs log tree commit diff
path: root/changelog.d/4045.bugfix
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 /changelog.d/4045.bugfix
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 'changelog.d/4045.bugfix')
-rw-r--r--changelog.d/4045.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/4045.bugfix b/changelog.d/4045.bugfix
new file mode 100644
index 0000000000..fa50eb5aff
--- /dev/null
+++ b/changelog.d/4045.bugfix
@@ -0,0 +1 @@
+Fix bug which made get_missing_events return too few events
\ No newline at end of file