mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 15:06:30 +03:00
Start implementing Ui config on top of the Config enum
This commit is contained in:
@@ -495,7 +495,7 @@ unsafe fn handle_cmd(line: &str, ctx: Arc<RwLock<Context>>) -> Result<ExitResult
|
||||
configure(&ctx.read().unwrap());
|
||||
}
|
||||
"oauth2" => {
|
||||
if let Some(addr) = ctx.read().unwrap().get_config(config::Config::Addr) {
|
||||
if let Some(addr) = ctx.read().unwrap().get_config(&config::Config::Addr) {
|
||||
let oauth2_url = dc_get_oauth2_url(
|
||||
&ctx.read().unwrap(),
|
||||
&addr,
|
||||
|
||||
Reference in New Issue
Block a user