mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Merge pull request #712 from hjubb/dev
Fix muted notification dismissal
This commit is contained in:
commit
9fb644f734
@ -284,8 +284,9 @@ public class DefaultMessageNotifier implements MessageNotifier {
|
|||||||
sendMultipleThreadNotification(context, notificationState, signal);
|
sendMultipleThreadNotification(context, notificationState, signal);
|
||||||
} else if (notificationState.getMessageCount() > 0){
|
} else if (notificationState.getMessageCount() > 0){
|
||||||
sendSingleThreadNotification(context, notificationState, signal, false);
|
sendSingleThreadNotification(context, notificationState, signal, false);
|
||||||
|
} else {
|
||||||
|
cancelActiveNotifications(context);
|
||||||
}
|
}
|
||||||
|
|
||||||
cancelOrphanedNotifications(context, notificationState);
|
cancelOrphanedNotifications(context, notificationState);
|
||||||
updateBadge(context, notificationState.getMessageCount());
|
updateBadge(context, notificationState.getMessageCount());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user