summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/18296.doc1
-rw-r--r--docs/admin_api/media_admin_api.md8
2 files changed, 9 insertions, 0 deletions
diff --git a/changelog.d/18296.doc b/changelog.d/18296.doc
new file mode 100644

index 0000000000..3604e732d5 --- /dev/null +++ b/changelog.d/18296.doc
@@ -0,0 +1 @@ +Hashes of media files are now tracked by Synapse. Media quarantines will now apply to all files with the same hash. \ No newline at end of file diff --git a/docs/admin_api/media_admin_api.md b/docs/admin_api/media_admin_api.md
index 30833f3109..1177711c1e 100644 --- a/docs/admin_api/media_admin_api.md +++ b/docs/admin_api/media_admin_api.md
@@ -46,6 +46,14 @@ to any local media, and any locally-cached copies of remote media. The media file itself (and any thumbnails) is not deleted from the server. +Since Synapse 1.128.0, hashes of uploaded media are tracked. If this media +is quarantined, Synapse will: + + - Quarantine any media with a matching hash that has already been uploaded. + - Quarantine any future media. + - Quarantine any existing cached remote media. + - Quarantine any future remote media. + ## Quarantining media by ID This API quarantines a single piece of local or remote media.