0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-05 15:39:26 +01:00
dendrite/roomserver/internal
S7evinK eccd0d2c1b
Implement forgetting about rooms (#1572)
* Add basic storage methods

* Add internal api handler

* Add check for forgotten room

* Add /rooms/{roomID}/forget endpoint

* Add missing rsAPI method

* Remove unused parameters

* Add passing tests

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Add missing file

* Add postgres migration

* Add sqlite migration

* Use Forgetter to forget room

* Remove empty line

* Update HTTP status codes

It looks like the spec calls for these to be 400, rather than 403: https://matrix.org/docs/spec/client_server/r0.6.1#post-matrix-client-r0-rooms-roomid-forget

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-11-05 10:19:23 +00:00
..
helpers Return what we have when we encounter missing events when servicing backfill/gme (#1499) 2020-10-08 12:22:00 +01:00
input Add possibilty to configure MaxMessageBytes for sarama (#1563) 2020-10-27 14:11:37 +00:00
perform Implement forgetting about rooms (#1572) 2020-11-05 10:19:23 +00:00
query Implement forgetting about rooms (#1572) 2020-11-05 10:19:23 +00:00
alias.go Implement rejected events (#1426) 2020-09-16 13:00:52 +01:00
api.go Implement forgetting about rooms (#1572) 2020-11-05 10:19:23 +00:00