watomatic icon indicating copy to clipboard operation
watomatic copied to clipboard

WhatsApp's original notification for the replied message is shown on some devices

Open spuday90 opened this issue 4 years ago • 3 comments

spuday90 avatar Apr 27 '21 02:04 spuday90

To fix this issue we should add "cancelNotification(sbn.getKey());" where we are checking if its replied message i.e checking selfDisplayName.

inside this if block

if(title != null && selfDisplayName != null && title.equalsIgnoreCase(selfDisplayName)){ //to protect double reply in case where if notification is not dismissed and existing notification is updated with our reply return false; }

spuday90 avatar Apr 27 '21 02:04 spuday90

That shouldn't sound bad or so but you could fork it and create a pr, if you already know how to do it

mawoka-myblock avatar May 02 '21 14:05 mawoka-myblock

That shouldn't sound bad or so but you could fork it and create a pr, if you already know how to do it

@mawoka-myblock @spuday90 is already working on it. We talked off thread on this issue 😊

adeekshith avatar May 02 '21 14:05 adeekshith