mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-21 19:21:39 +00:00
738686ae68
This adds a new admin endpoint `/_dendrite/admin/purgeRoom/{roomID}`. It completely erases all database entries for a given room ID. The roomserver will start by clearing all data for that room and then will generate an output event to notify downstream components (i.e. the sync API and federation API) to do the same. It does not currently clear media and it is currently not implemented for SQLite since it relies on SQL array operations right now. Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com> Co-authored-by: Till Faelligen <2353100+S7evinK@users.noreply.github.com> |
||
---|---|---|
.. | ||
migrate_test.go | ||
migrate.go | ||
sql.go | ||
sqlite_cgo.go | ||
sqlite_native.go | ||
sqlutil_test.go | ||
sqlutil.go | ||
trace_driver_wasm.go | ||
trace_driver.go | ||
trace.go | ||
unique_constraint_cgo.go | ||
unique_constraint_wasm.go | ||
unique_constraint.go | ||
uri.go | ||
writer_dummy.go | ||
writer_exclusive.go | ||
writer.go |