Closed NicKoehler closed 1 year ago
Yeah, it might be possible. I will look into it
Did you switch off your original WhatsApp device? Because I think WhatsApp wants the primary device to come online every few days
Most likely what you said is correct because my WhatsApp is under advanced suspension. I don't want to use it, receive notifications from it, or have it drain my battery
It would make my task easier if you could answer some questions for me:
Does the QR code reappear after the bot restarts (which happens automatically every 24 hours if you are using the provided systemd service file), or is the QR code emitted during a running instance as well?
If it happens during a running instance, can you add some debugging statements in line 32 to check what events are emitted when this happens?
Maybe add fmt.Println(reflect.TypeOf(evt))
in line 32
I don't know if is stopping after restarting or while running, how do I check this?
Is it printing the QR code when this happens, or some other error ?
It just prints the qr code, no errors
Thank you very much for this update!
I installed this on a Raspberry Pi 4 and set up a service to run it. Sometimes, the application asks for the QR code again, but it's hard to notice since I wasn't checking the service, and I have no way to do so without connecting to the Raspberry Pi to check if the service is asking for the QR code.
Is it possible to add a notification on the Telegram side when WhatsApp isn't authenticated correctly to make it more noticeable?
Thanks in advance for your great job!