Skip to content
Snippets Groups Projects
Unverified Commit 0ad51258 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Update purge_history_api.rst

clarify that `purge_history` will not purge state
parent 068c21ab
No related branches found
No related tags found
No related merge requests found
......@@ -16,9 +16,11 @@ including an ``access_token`` of a server admin.
By default, events sent by local users are not deleted, as they may represent
the only copies of this content in existence. (Events sent by remote users are
deleted, and room state data before the cutoff is always removed).
deleted.)
To delete local events as well, set ``delete_local_events`` in the body:
Room state data (such as joins, leaves, topic) is always preserved.
To delete local message events as well, set ``delete_local_events`` in the body:
.. code:: json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment