Add 'euph.rooms.<name>.autojoin' config option

This commit is contained in:
Joscha 2022-08-27 15:08:47 +02:00
parent 74561c791b
commit 04581f9158
3 changed files with 12 additions and 1 deletions

View file

@ -8,6 +8,8 @@ use crate::macros::ok_or_return;
#[derive(Debug, Clone, Default, Deserialize)]
pub struct EuphRoom {
#[serde(default)]
pub autojoin: bool,
pub username: Option<String>,
#[serde(default)]
pub force_username: bool,