mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-11 17:46:27 +00:00
Update Rhymen/go-whatsapp module to latest master (2b8a3e9b8aa2) (#1518)
This commit is contained in:
3
vendor/github.com/Rhymen/go-whatsapp/message.go
generated
vendored
3
vendor/github.com/Rhymen/go-whatsapp/message.go
generated
vendored
@ -72,7 +72,8 @@ func (wac *Conn) Send(msg interface{}) (string, error) {
|
||||
default:
|
||||
return "ERROR", fmt.Errorf("cannot match type %T, use message types declared in the package", msg)
|
||||
}
|
||||
|
||||
status := proto.WebMessageInfo_PENDING
|
||||
msgProto.Status = &status
|
||||
ch, err := wac.sendProto(msgProto)
|
||||
if err != nil {
|
||||
return "ERROR", fmt.Errorf("could not send proto: %v", err)
|
||||
|
2
vendor/github.com/Rhymen/go-whatsapp/session.go
generated
vendored
2
vendor/github.com/Rhymen/go-whatsapp/session.go
generated
vendored
@ -18,7 +18,7 @@ import (
|
||||
)
|
||||
|
||||
//represents the WhatsAppWeb client version
|
||||
var waVersion = []int{2, 2110, 10}
|
||||
var waVersion = []int{2, 2121, 6}
|
||||
|
||||
/*
|
||||
Session contains session individual information. To be able to resume the connection without scanning the qr code
|
||||
|
Reference in New Issue
Block a user