From 540cc8b2051426d5dba87b6cbe2ba4766fe8fdb7 Mon Sep 17 00:00:00 2001 From: jikstra Date: Tue, 29 Nov 2022 23:34:46 +0100 Subject: [PATCH] Fix warning of unused result --- src/chat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat.rs b/src/chat.rs index 181991e19..046652539 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -2003,7 +2003,7 @@ pub async fn send_msg(context: &Context, chat_id: ChatId, msg: &mut Message) -> // encryption_mode if let None = msg.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?; } }