mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 09:56:35 +03:00
implement dc_set_config_from_qr()
This commit is contained in:
committed by
holger krekel
parent
2b7a0a4585
commit
8b4edc46a7
@@ -967,6 +967,10 @@ pub fn dc_cmdline(context: &Context, line: &str) -> Result<(), failure::Error> {
|
||||
res.get_text2()
|
||||
);
|
||||
}
|
||||
"setqr" => {
|
||||
ensure!(!arg1.is_empty(), "Argument <qr-content> missing.");
|
||||
set_config_from_qr(context, arg1);
|
||||
}
|
||||
"providerinfo" => {
|
||||
ensure!(!arg1.is_empty(), "Argument <addr> missing.");
|
||||
match provider::get_provider_info(arg1) {
|
||||
|
||||
Reference in New Issue
Block a user