mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-24 15:31:46 +00:00
Only schedule a reminder if it's an alerting notification.
// FREEBIE
This commit is contained in:
@@ -174,7 +174,10 @@ public class MessageNotifier {
|
||||
}
|
||||
|
||||
updateBadge(context, notificationState.getMessageCount());
|
||||
scheduleReminder(context, reminderCount);
|
||||
|
||||
if (signal) {
|
||||
scheduleReminder(context, reminderCount);
|
||||
}
|
||||
} finally {
|
||||
if (telcoCursor != null) telcoCursor.close();
|
||||
if (pushCursor != null) pushCursor.close();
|
||||
|
||||
Reference in New Issue
Block a user