Merge pull request #712 from hjubb/dev

Fix muted notification dismissal
This commit is contained in:
Niels Andriesse 2021-08-20 16:53:59 +10:00 committed by GitHub
commit 9fb644f734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -284,8 +284,9 @@ public class DefaultMessageNotifier implements MessageNotifier {
sendMultipleThreadNotification(context, notificationState, signal);
} else if (notificationState.getMessageCount() > 0){
sendSingleThreadNotification(context, notificationState, signal, false);
} else {
cancelActiveNotifications(context);
}
cancelOrphanedNotifications(context, notificationState);
updateBadge(context, notificationState.getMessageCount());