From 0fb3c4c8ca1a7bfdd9a1407f3331fd12d241ceb3 Mon Sep 17 00:00:00 2001 From: Hocuri Date: Mon, 9 May 2022 18:52:26 +0200 Subject: [PATCH] bugfix --- src/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/message.rs b/src/message.rs index 4a86336c0..588c3d57b 100644 --- a/src/message.rs +++ b/src/message.rs @@ -1283,7 +1283,7 @@ pub async fn delete_msgs(context: &Context, msg_ids: &[MsgId]) -> Result<()> { ) .await?; - if context.get_config(Config::DebugLogging).await? == Some(msg_id.to_string()) { + if context.get_config(Config::DebugLogging).await? == Some(msg_id.to_u32().to_string()) { context .sql .set_raw_config(Config::DebugLogging, Some("0"))