whatsmeow
whatsmeow copied to clipboard
No new message notification on phone if message received in whatsmeow
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?
May be related to SendPresence(types.PresenceAvailable)?
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.
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!
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 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.
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 Regardless of the presence setting, all devices receive the message.