mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 15:38:27 +00:00
Fix notification repeat
by adding an undeniable truth Until now we use the reminderCount as threadId and afterwards we updateNotification with a repeat count of always 0 Fixes #3893 Closes #3896
This commit is contained in:
parent
5fe1a28954
commit
716ed94ca1
@ -419,7 +419,7 @@ public class MessageNotifier {
|
|||||||
public void onReceive(Context context, Intent intent) {
|
public void onReceive(Context context, Intent intent) {
|
||||||
MasterSecret masterSecret = KeyCachingService.getMasterSecret(context);
|
MasterSecret masterSecret = KeyCachingService.getMasterSecret(context);
|
||||||
int reminderCount = intent.getIntExtra("reminder_count", 0);
|
int reminderCount = intent.getIntExtra("reminder_count", 0);
|
||||||
MessageNotifier.updateNotification(context, masterSecret, true, reminderCount + 1);
|
MessageNotifier.updateNotification(context, masterSecret, true, true, reminderCount + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user