panic: interface conversion: interface {} is nil, not map[string]interface {}
Closed this issue · 3 comments
zainul commented
got panic after scanning the barcode
wac.SetClientVersion(2,2147,16)
panic code snippet
panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 14 [running]:
github.com/Rhymen/go-whatsapp.newInfoFromReq(0xc000098990, 0x38)
/home/x/play/src/github.com/zainul/kasir/vendor/github.com/Rhymen/go-whatsapp/session.go:63 +0xc5e
github.com/Rhymen/go-whatsapp.(*Conn).Login(0xc000152f00, 0xc0000b23c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/x/play/src/github.com/zainul/kasir/vendor/github.com/Rhymen/go-whatsapp/session.go:268 +0x1002
dimaskiddo commented
Hai @zainul thank's for the report will try to reproduce the issue. This issue may lead to need an upgrade of Rhymen/go-whatsapp library version
dimaskiddo commented
Hai @zainul i just test with no changes except the WhatsApp Client Version is Upgraded and it work fine, can you mak sure that your connection is stable, some issues are related to the connection
dimaskiddo commented
Closing this issue due to maybe this more related to main library Rhymen/go-whatsapp and cannot reproduce in current state of this repository. Feel free to re-open