Merge pull request #4735 from nextcloud/bugfix/fix-disappearing-notifications

Stop clearing notifications when new notifications are received
This commit is contained in:
Claudio Cambra 2022-07-21 13:47:31 +02:00 committed by GitHub
commit db90f5b714
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,8 +114,6 @@ void User::showDesktopNotification(const QString &title, const QString &message,
void User::slotBuildNotificationDisplay(const ActivityList &list) void User::slotBuildNotificationDisplay(const ActivityList &list)
{ {
_activityModel->clearNotifications();
const auto multipleAccounts = AccountManager::instance()->accounts().count() > 1; const auto multipleAccounts = AccountManager::instance()->accounts().count() > 1;
ActivityList toNotifyList; ActivityList toNotifyList;