whatsmeow icon indicating copy to clipboard operation
whatsmeow copied to clipboard

No new message notification on phone if message received in whatsmeow

Open Diden05 opened this issue 2 years ago • 1 comments

Hi! For some reason, 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?

Diden05 avatar Oct 14 '22 09:10 Diden05

May be related to SendPresence(types.PresenceAvailable)?

Diden05 avatar Oct 14 '22 09:10 Diden05

Yes, based on the user feed-back from https://github.com/hoehermann/purple-gowhatsapp/tree/whatsmeow, it seems you need to use types.PresenceUnavailable for notifications to appear on other devices.

hoehermann avatar Oct 26 '22 19:10 hoehermann

Yes, based on the user feed-back from https://github.com/hoehermann/purple-gowhatsapp/tree/whatsmeow, it seems you need to use types.PresenceUnavailable for notifications to appear on other devices.

Thanks!

Diden05 avatar Oct 27 '22 12:10 Diden05

Hi!

Please can you guide me how I can set types.PresenceUnavailable? And if I do that, will I be able to see other users online status still in Pidgin?

salmaricc avatar Nov 09 '22 13:11 salmaricc

@salmaricc I assume, you are asking about purple-gowhatsapp. PresenceUnavailable is set if the plug-in is set to "away" (one of the default states offered by Pidgin). As far as I know, WhatsApp servers do not provide status updates to you while you are away/unavailable.

Other than that, please be aware that this is the list of issues for whatsmeow package itself, not the Pidgin plug-in. Please direct questions related to the plug-in to https://github.com/hoehermann/purple-gowhatsapp/issues.

hoehermann avatar Nov 09 '22 22:11 hoehermann

Do you mean that the main device cannot receive the message, only the clone device that scans the code can receive the message? I need this function

wxl2578 avatar Jun 28 '24 01:06 wxl2578

@wxl2578 Regardless of the presence setting, all devices receive the message.

hoehermann avatar Jun 28 '24 23:06 hoehermann