mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-22 04:38:26 +00:00
"Clicking on message notifications doesn't mark the messages as read" fixed
This commit is contained in:
parent
ea0ba98722
commit
3710be72fd
@ -311,6 +311,7 @@ public class MessageNotifier {
|
|||||||
builder.setDeleteIntent(notificationState.getDeleteIntent(context));
|
builder.setDeleteIntent(notificationState.getDeleteIntent(context));
|
||||||
builder.setOnlyAlertOnce(!signal);
|
builder.setOnlyAlertOnce(!signal);
|
||||||
builder.setGroupAlertBehavior(NotificationCompat.GROUP_ALERT_SUMMARY);
|
builder.setGroupAlertBehavior(NotificationCompat.GROUP_ALERT_SUMMARY);
|
||||||
|
builder.setAutoCancel(true);
|
||||||
|
|
||||||
long timestamp = notifications.get(0).getTimestamp();
|
long timestamp = notifications.get(0).getTimestamp();
|
||||||
if (timestamp != 0) builder.setWhen(timestamp);
|
if (timestamp != 0) builder.setWhen(timestamp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user