docs: update maxMediaBytes documentation to include blocking option

Add clarification that setting to 0 blocks all attachments
This commit is contained in:
Alexander Minges
2026-02-11 11:06:35 +01:00
parent 60ebf8c0e5
commit 1dc01235a3
+1 -1
View File
@@ -303,7 +303,7 @@ Uses Matrix sync via `matrix-nio` (inbound media + outbound file attachments).
> `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.
> `maxMediaBytes`: Max attachment size in bytes (default `20MB`) for inbound and outbound media handling.
> `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: