0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-07-01 02:38:24 +02:00
dendrite/syncapi/storage/tables
Neil Alexander 475d3c1af9
Better mapping of stream positions to topological positions in /messages (#2263)
* Convert stream positions into topological positions for both `from` and `to` in `/messages`

* Hopefully it works now

* Remove unnecessary logging

* Return sane values if `StreamToTopologicalPosition` can't work out the right thing to do

* Revert logging change

* tweaks

* Fix `selectEventIDsInRangeASCSQL`

* Test `Getting messages going forward is limited for a departed room (SPEC-216)` was passing incorrectly so un-whitelist it
2022-03-18 10:40:01 +00:00
..
interface.go Better mapping of stream positions to topological positions in /messages (#2263) 2022-03-18 10:40:01 +00:00