4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-26 07:29:24 +00:00

Update Rhymen/go-whatsapp module to latest master (2b8a3e9b8aa2) (#1518)

This commit is contained in:
Nathanaël
2021-06-16 20:35:09 +02:00
committed by GitHub
parent 6a12f9ff84
commit dedc1c45a1
5 changed files with 7 additions and 6 deletions

View File

@ -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)

View File

@ -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

2
vendor/modules.txt vendored
View File

@ -19,7 +19,7 @@ github.com/Philipp15b/go-steam/protocol/steamlang
github.com/Philipp15b/go-steam/rwu
github.com/Philipp15b/go-steam/socialcache
github.com/Philipp15b/go-steam/steamid
# github.com/Rhymen/go-whatsapp v0.1.2-0.20210407153411-c58e164e05b8
# github.com/Rhymen/go-whatsapp v0.1.2-0.20210615184944-2b8a3e9b8aa2
## explicit
github.com/Rhymen/go-whatsapp
github.com/Rhymen/go-whatsapp/binary