From b08dc7effed4a880384e386cdca50c5d15870904 Mon Sep 17 00:00:00 2001
From: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com>
Date: Tue, 24 Nov 2020 15:04:51 +0100
Subject: [PATCH] Clarify documentation of the admin list media API (#8795)

Clarify that the list media API only shows media from unencrypted events.
---
 changelog.d/8795.doc              | 1 +
 docs/admin_api/media_admin_api.md | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 changelog.d/8795.doc

diff --git a/changelog.d/8795.doc b/changelog.d/8795.doc
new file mode 100644
index 0000000000..f97a74efb5
--- /dev/null
+++ b/changelog.d/8795.doc
@@ -0,0 +1 @@
+Improve the documentation for the admin API to list all media in a room with respect to encrypted events.
diff --git a/docs/admin_api/media_admin_api.md b/docs/admin_api/media_admin_api.md
index 3994e1f1a9..71137c6dfc 100644
--- a/docs/admin_api/media_admin_api.md
+++ b/docs/admin_api/media_admin_api.md
@@ -1,6 +1,7 @@
 # List all media in a room
 
 This API gets a list of known media in a room.
+However, it only shows media from unencrypted events or rooms.
 
 The API is:
 ```
-- 
GitLab