fix: clear notifications properly on muted groups

This commit is contained in:
Harris 2021-08-20 15:01:09 +10:00
parent 4bc9bdea73
commit 873fb6b578

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());