Skip to content
Snippets Groups Projects
Commit 17894029 authored by Thomas Ballasi's avatar Thomas Ballasi Committed by Sébastien Blin
Browse files

currentconversation: untick mute conversation setting if unset

Change-Id: I3c0586d17cbb72b0a71886f40409e97d8a37502a
GitLab: #1218
parent 2546b693
Branches
Tags
No related merge requests found
......@@ -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");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment