From bfd2018095874f96ce9374b2fbecbc6af06a723d Mon Sep 17 00:00:00 2001 From: Alexander Minges Date: Wed, 11 Feb 2026 11:06:35 +0100 Subject: [PATCH] docs: update maxMediaBytes documentation to include blocking option Add clarification that setting to 0 blocks all attachments --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 45de967..2d988c4 100644 --- a/README.md +++ b/README.md @@ -346,7 +346,7 @@ Uses Matrix sync via `matrix-nio` (including inbound media support). > `groupAllowFrom`: Room allowlist used when `groupPolicy` is `allowlist`. > `allowRoomMentions`: If `true`, accepts `@room` (`m.mentions.room`) in mention mode. > `e2eeEnabled`: Enables Matrix E2EE support (default `true`); set `false` only for plaintext-only setups. -> `maxInboundMediaBytes`: Max inbound attachment size in bytes (default `20MB`). +> `maxMediaBytes`: Max attachment size in bytes (default `20MB`) for inbound and outbound media handling; set to `0` to block all inbound and outbound attachment uploads. > [!NOTE] > Matrix E2EE implications: