mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
Disable unauthenticated media access
This commit is contained in:
parent
b9ee898920
commit
0d6a7eb968
3 changed files with 30 additions and 6 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue