mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Merge pull request #1277 from deltachat/notifyswipednotread
Fix #999 swiping a notification away should not mark things as "noticed"
This commit is contained in:
@@ -253,7 +253,6 @@ abstract class MessageNotifier {
|
||||
firstItem.getText(""), firstItem.getSlideDeck());
|
||||
builder.setContentIntent(firstItem.getPendingIntent(context));
|
||||
builder.setGroup(NOTIFICATION_GROUP);
|
||||
builder.setDeleteIntent(notificationState.getMarkAsReadIntent(context, chatId, notificationId));
|
||||
|
||||
long timestamp = firstItem.getTimestamp();
|
||||
if (timestamp != 0) builder.setWhen(timestamp);
|
||||
@@ -313,7 +312,6 @@ abstract class MessageNotifier {
|
||||
builder.setMessageCount(notificationState.getMessageCount(), notificationState.getChatCount());
|
||||
builder.setMostRecentSender(firstItem.getIndividualRecipient());
|
||||
builder.setGroup(NOTIFICATION_GROUP);
|
||||
builder.setDeleteIntent(notificationState.getMarkAsReadIntent(context, 0, SUMMARY_NOTIFICATION_ID));
|
||||
|
||||
long timestamp = firstItem.getTimestamp();
|
||||
if (timestamp != 0) builder.setWhen(timestamp);
|
||||
|
||||
Reference in New Issue
Block a user