mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
fix: clear notifications properly on muted groups
This commit is contained in:
parent
4bc9bdea73
commit
873fb6b578
1 changed files with 2 additions and 1 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue