diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2022-04-23 22:58:44 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2022-06-29 22:04:37 -0400 |
commit | f03c506bdf8a83b96fef9b05b565fabc27341e48 (patch) | |
tree | fa7bf3cde41bbdc4548186718e114abe35b62bba /src/timeline/CommunitiesModel.cpp | |
parent | Add space notification configuration (diff) | |
download | nheko-f03c506bdf8a83b96fef9b05b565fabc27341e48.tar.xz |
Inform Qt that loud notifications changed
Diffstat (limited to '')
-rw-r--r-- | src/timeline/CommunitiesModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/CommunitiesModel.cpp b/src/timeline/CommunitiesModel.cpp index ccc0adfe..c89e7661 100644 --- a/src/timeline/CommunitiesModel.cpp +++ b/src/timeline/CommunitiesModel.cpp @@ -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}); }); } |