ezkrg / docker-bitlbee-libpurple

bitlbee with libpurple and plugins
28 stars 17 forks source link

purple-gowhatsapp panics when scanning qr code #29

Closed surskitt closed 2 years ago

surskitt commented 2 years ago
goroutine 13 [running]:
github.com/Rhymen/go-whatsapp.newInfoFromReq(0xc000252060, 0x38)
        /tmp/purple-gowhatsapp/go/src/github.com/Rhymen/go-whatsapp/session.go:63 +0xc67
github.com/Rhymen/go-whatsapp.(*Conn).Login(0xc000092100, 0xc0000703c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /tmp/purple-gowhatsapp/go/src/github.com/Rhymen/go-whatsapp/session.go:268 +0x1046
main.login(0xc00045a000, 0x0, 0x0, 0x0)
        /tmp/purple-gowhatsapp/purplegwa.go:573 +0x392
main.connect_and_login(0xc00045a000, 0x0)
        /tmp/purple-gowhatsapp/purplegwa.go:487 +0x4b3
created by main.gowhatsapp_go_login
        /tmp/purple-gowhatsapp/purplegwa.go:530 +0x113

Probably an error in the plugin itself, but that might mean an upgrade or something is needed.

surskitt commented 2 years ago

Oh, I just figured it out, the plugin doesn't work when you've joined the multi-device beta.

https://github.com/Rhymen/go-whatsapp/issues/598

They also say in that issue that it probably won't be supported by the project since it appears to be dropped. There's another library (https://github.com/tulir/whatsmeow) that may support it, but that's hoping for a number of levels to update (library, plugin).