adeekshith / watomatic

Auto reply app helping you move away from less private messengers like WhatsApp and Facebook Messenger
https://watomatic.app
GNU General Public License v3.0
429 stars 85 forks source link

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

Open spuday90 opened 3 years ago

spuday90 commented 3 years ago

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; }

mawoka-myblock commented 3 years ago

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

adeekshith commented 3 years ago

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 😊