From 748bfe5b60b1ae6924e492c09ffa2b147223089f Mon Sep 17 00:00:00 2001 From: Hocuri Date: Wed, 1 Apr 2020 11:07:44 +0200 Subject: [PATCH] Fix #999 swiping a notification away should not mark things as "noticed" --- .../thoughtcrime/securesms/notifications/MessageNotifier.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java b/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java index 782c67223..ac946dc55 100644 --- a/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java +++ b/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java @@ -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);