mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 17:06:35 +03:00
make clippy happy
This commit is contained in:
@@ -275,7 +275,7 @@ pub async fn set_config_from_qr(context: &Context, qr: &str) -> Result<(), Error
|
|||||||
LotState::QrWebrtcInstance => {
|
LotState::QrWebrtcInstance => {
|
||||||
let val = decode_webrtc_instance(context, qr).text2;
|
let val = decode_webrtc_instance(context, qr).text2;
|
||||||
context
|
context
|
||||||
.set_config(Config::WebrtcInstance, val.as_ref().map(|x| x.as_str()))
|
.set_config(Config::WebrtcInstance, val.as_deref())
|
||||||
.await?;
|
.await?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user