mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-16 12:00:29 +00:00
Don't redisplay notifications after they have been dismissed
Fixes #5751 Fixes #6218 // FREEBIE
This commit is contained in:
@@ -239,9 +239,9 @@ public class DirectoryHelper {
|
||||
if (insertResult.isPresent()) {
|
||||
int hour = Calendar.getInstance().get(Calendar.HOUR_OF_DAY);
|
||||
if (hour >= 9 && hour < 23) {
|
||||
MessageNotifier.updateNotification(context, masterSecret, false, insertResult.get().getThreadId(), true);
|
||||
MessageNotifier.updateNotification(context, masterSecret, insertResult.get().getThreadId(), true);
|
||||
} else {
|
||||
MessageNotifier.updateNotification(context, masterSecret, false, insertResult.get().getThreadId(), false);
|
||||
MessageNotifier.updateNotification(context, masterSecret, insertResult.get().getThreadId(), false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user