Disable unauthenticated media access

This commit is contained in:
Lambda 2024-09-18 19:59:51 +00:00
parent b9ee898920
commit 0d6a7eb968
3 changed files with 30 additions and 6 deletions

View file

@ -60,6 +60,8 @@ pub(crate) struct Config {
pub(crate) allow_encryption: bool,
#[serde(default = "true_fn")]
pub(crate) allow_room_creation: bool,
#[serde(default = "false_fn")]
pub(crate) serve_media_unauthenticated: bool,
#[serde(default = "default_default_room_version")]
pub(crate) default_room_version: RoomVersionId,
#[serde(default)]