From 17894029492bc259ff056b6212f05e1c934bc244 Mon Sep 17 00:00:00 2001 From: Thomas Ballasi <thomas.ballasi@savoirfairelinux.com> Date: Thu, 22 Jun 2023 13:51:53 -0400 Subject: [PATCH] currentconversation: untick mute conversation setting if unset Change-Id: I3c0586d17cbb72b0a71886f40409e97d8a37502a GitLab: #1218 --- src/app/currentconversation.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/currentconversation.cpp b/src/app/currentconversation.cpp index 891c21be5..361c46eaa 100644 --- a/src/app/currentconversation.cpp +++ b/src/app/currentconversation.cpp @@ -258,9 +258,8 @@ CurrentConversation::updateConversationPreferences(const QString& convId) color = convInfo.preferences["color"]; } set_color(color); - if (convInfo.preferences.contains("ignoreNotifications")) { - set_ignoreNotifications(convInfo.preferences["ignoreNotifications"] == "true"); - } + set_ignoreNotifications(convInfo.preferences.contains("ignoreNotifications") + && convInfo.preferences["ignoreNotifications"] == "true"); } } -- GitLab