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

This commit is contained in:
Joscha 2022-08-25 23:19:40 +02:00
parent d0ba210855
commit 6150d05255
4 changed files with 9 additions and 7 deletions

View file

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