Add 'admins' config option to be used later on
Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
parent
caa92227b2
commit
478780d063
1 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,10 @@ use crate::error::Error;
|
|||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
pub struct Config {
|
||||
/// Accounts trusted for admin tasks
|
||||
#[serde(default = "Vec::new")]
|
||||
pub admins: Vec<BareJid>,
|
||||
|
||||
/// Account address
|
||||
pub jid: BareJid,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue