This commit is contained in:
Hocuri
2022-12-06 17:21:12 +01:00
committed by Septias
parent 5a856eccef
commit 0fb3c4c8ca
+1 -1
View File
@@ -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"))