Commit graph

8 commits

Author SHA1 Message Date
Kegan Dougal
5d9c10cb8f Implement history visibility checks for /messages 2020-09-11 17:51:49 +01:00
Kegan Dougal
c8dd962505 Bugfixes and line up where we'll dump history visibility code 2020-09-11 16:55:22 +01:00
Kegan Dougal
493e2ca389 Linting 2020-09-11 15:31:40 +01:00
Kegan Dougal
bb3400365b Refactor history visibility functions to be a bit neater 2020-09-11 15:24:58 +01:00
Kegsay
4ad52c67ca
Honour history_visibility when backfilling (#990)
* Make backfill work for shared history visibility

* fetch missing state on backfill to remember snapshots correctly

* Fix gmsl to not mux in auth events into room state

* Whoops

* Linting
2020-04-29 18:41:45 +01:00
Kegsay
6bac7e5efd
Implement backfill over federation (#938)
* Implement history visibility checks for /backfill

Required for p2p to show history correctly.

* Add sytest

* Logging

* Fix two backfill bugs which prevented backfill from working correctly

- When receiving backfill requests, do not send the event that was in the original request.
- When storing backfill results, correctly update the backwards extremity for the room.

* hack: make backfill work multiple times

* add sqlite impl and remove logging

* Linting
2020-03-24 12:20:10 +00:00
Alex Chen
f8d2860765 Replace membership and visibility values with constants (#774)
Signed-off-by: Alex Chen <minecnly@gmail.com>
2019-08-06 15:07:36 +01:00
ruben
74827428bd use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00