add --console program option to automatically spawn
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
2fb43dd38d
commit
263e338088
3 changed files with 30 additions and 4 deletions
|
@ -330,6 +330,8 @@ pub struct Config {
|
|||
pub block_non_admin_invites: bool,
|
||||
#[serde(default = "true_fn")]
|
||||
pub admin_escape_commands: bool,
|
||||
#[serde(default)]
|
||||
pub admin_console_automatic: bool,
|
||||
|
||||
#[serde(default)]
|
||||
pub sentry: bool,
|
||||
|
@ -579,6 +581,10 @@ impl fmt::Display for Config {
|
|||
&self.block_non_admin_invites.to_string(),
|
||||
);
|
||||
line("Enable admin escape commands", &self.admin_escape_commands.to_string());
|
||||
line(
|
||||
"Activate admin console after startup",
|
||||
&self.admin_console_automatic.to_string(),
|
||||
);
|
||||
line("Allow outgoing federated typing", &self.allow_outgoing_typing.to_string());
|
||||
line("Allow incoming federated typing", &self.allow_incoming_typing.to_string());
|
||||
line(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue