tulir / whatsmeow

Go library for the WhatsApp web multidevice API

Home Page:https://go.mau.fi/whatsmeow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No new message notification on phone if message received in whatsmeow

zhiru opened this issue · comments

The notification of the received message does not appear on the phone if the message is also received in whatsmeow. How can I get notifications for new messages on my phone?

here is the code that i`m using to connect:

image

like #262

PS: everything is working, sending, receiving, but just the notifications is not working

@hugodeco

when you scan precense wil set to availble

when you scan precense wil set to availble

So I have to define the presence before scanning, then there is no way to change it, that's what I understand, right?

when you scan precense wil set to availble

So I have to define the presence before scanning, then there is no way to change it, that's what I understand, right?

you are already setting presence before scanning
after scanning you change precense any time you want

why brazil people so dumb in coding ?

If you're not here to help, just ignore and let others respond, I don't need your insults!

Let's maintain respect so that everyone can learn and contribute in a positive way.

when you scan precense wil set to availble

So I have to define the presence before scanning, then there is no way to change it, that's what I understand, right?

you are already setting presence before scanning after scanning you change precense any time you want

Do not tell me! serious? If you read a little and read the title you will see that even though everything is working and even changing the presence to unavaible, we still do not receive the notification. When you responded, what I understood was that it was only before the scan that you could set the presence.

If you see my code you will see that right after connecting to whatsmeow I passed it as unavaible, which I use after having already scanned.

If you have something that can help without offending about receiving notifications on device, I would appreciate it, if not I do not need your comments.

Any parameter I define in "SendPresence" brings the same result. Still no "PUSH" notifications

No, its only happen when connected by whatsmeow

set the presence to unavailable. You should do this every 15 seconds

Thanks @PurpShell we will try!

Do you know if is possible to verify/consult the presence?

Thanks @PurpShell we will try!

Do you know if is possible to verify/consult the presence?

You can subscribe to your number from another number on whatsmeow, or perhaps just still a little monitor like this one (https://gist.github.com/PurpShell/13f198b996b46e3e783bee1ef06d1a35 v2.3000.x>) on another Web session and click on your chat to see the node coming from WA