Richard van der Hoff 0fd2321629 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.
2018-10-17 17:35:26 +01:00
..
2018-07-23 13:17:22 +01:00
2016-01-07 04:26:29 +00:00
2018-07-09 16:09:20 +10:00
2018-09-07 00:22:23 +10:00
2018-07-09 16:09:20 +10:00
2018-09-17 16:52:02 +01:00
2018-07-09 16:09:20 +10:00
2018-09-15 22:27:41 +01:00
2018-09-07 00:22:23 +10:00
2018-07-09 16:09:20 +10:00
2018-10-10 11:41:15 +01:00
2018-08-17 15:31:50 +01:00