mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
Fix warning of unused result
This commit is contained in:
@@ -2003,7 +2003,7 @@ pub async fn send_msg(context: &Context, chat_id: ChatId, msg: &mut Message) ->
|
|||||||
// encryption_mode
|
// encryption_mode
|
||||||
if let None = msg.encryption_modus(&context).await? {
|
if let None = msg.encryption_modus(&context).await? {
|
||||||
if let Some(encryption_mode) = chat_id.encryption_modus(&context).await? {
|
if let Some(encryption_mode) = chat_id.encryption_modus(&context).await? {
|
||||||
msg.set_encryption_modus(&context, encryption_mode);
|
msg.set_encryption_modus(&context, encryption_mode).await?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user