Skip to content
Snippets Groups Projects
Commit f03c506b authored by Loren Burkholder's avatar Loren Burkholder
Browse files

Inform Qt that loud notifications changed

parent 863eaa19
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ CommunitiesModel::CommunitiesModel(QObject *parent)
connect(ChatPage::instance(), &ChatPage::unreadMessages, this, [this](int) {
// Simply updating every space is easier than tracking which ones need updated.
if (!spaces_.empty())
emit dataChanged(index(2, 0), index(spaces_.size() + 2, 0), {Roles::UnreadMessages});
emit dataChanged(index(2, 0), index(spaces_.size() + 2, 0), {Roles::UnreadMessages, Roles::HasLoudNotification});
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment