diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2021-07-13 12:55:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 11:55:48 +0100 |
commit | e938f69697aac0723a03605831403a815e8a1b45 (patch) | |
tree | eec405b5b21f8821f8137986ccf9d2551c2cdece /contrib/purge_api | |
parent | Bugfix `make_room_admin` fails for users that have left a private room (#10367) (diff) | |
download | synapse-e938f69697aac0723a03605831403a815e8a1b45.tar.xz |
Fix some links in `docs` and `contrib` (#10370)
Diffstat (limited to 'contrib/purge_api')
-rw-r--r-- | contrib/purge_api/README.md | 10 | ||||
-rw-r--r-- | contrib/purge_api/purge_history.sh | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/contrib/purge_api/README.md b/contrib/purge_api/README.md index 06b4cdb9f7..2f2e5c58cd 100644 --- a/contrib/purge_api/README.md +++ b/contrib/purge_api/README.md @@ -3,8 +3,9 @@ Purge history API examples # `purge_history.sh` -A bash file, that uses the [purge history API](/docs/admin_api/purge_history_api.rst) to -purge all messages in a list of rooms up to a certain event. You can select a +A bash file, that uses the +[purge history API](https://matrix-org.github.io/synapse/latest/admin_api/purge_history_api.html) +to purge all messages in a list of rooms up to a certain event. You can select a timeframe or a number of messages that you want to keep in the room. Just configure the variables DOMAIN, ADMIN, ROOMS_ARRAY and TIME at the top of @@ -12,5 +13,6 @@ the script. # `purge_remote_media.sh` -A bash file, that uses the [purge history API](/docs/admin_api/purge_history_api.rst) to -purge all old cached remote media. +A bash file, that uses the +[purge history API](https://matrix-org.github.io/synapse/latest/admin_api/purge_history_api.html) +to purge all old cached remote media. diff --git a/contrib/purge_api/purge_history.sh b/contrib/purge_api/purge_history.sh index c45136ff53..9d5324ea1c 100644 --- a/contrib/purge_api/purge_history.sh +++ b/contrib/purge_api/purge_history.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # this script will use the api: -# https://github.com/matrix-org/synapse/blob/master/docs/admin_api/purge_history_api.rst +# https://matrix-org.github.io/synapse/latest/admin_api/purge_history_api.html # # It will purge all messages in a list of rooms up to a cetrain event |