4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-03 07:17:44 +00:00

Update vendor (whatsapp)

This commit is contained in:
Wim
2022-03-19 22:04:13 +01:00
parent d64eed49bc
commit 2623a412c4
119 changed files with 330355 additions and 88883 deletions

View File

@ -74,7 +74,7 @@ func (vc WAVersionContainer) ProtoAppVersion() *waProto.AppVersion {
}
// waVersion is the WhatsApp web client version
var waVersion = WAVersionContainer{2, 2208, 7}
var waVersion = WAVersionContainer{2, 2208, 14}
// waVersionHash is the md5 hash of a dot-separated waVersion
var waVersionHash [16]byte

View File

@ -33,7 +33,7 @@ const CheckUpdateURL = "https://web.whatsapp.com/check-update"
// CheckUpdate asks the WhatsApp servers if there is an update available
// (using the HTTP client and proxy settings of this whatsmeow Client instance).
func (cli *Client) CheckUpdate() (respData CheckUpdateResponse, err error) {
return CheckUpdate(http.DefaultClient)
return CheckUpdate(cli.http)
}
// CheckUpdate asks the WhatsApp servers if there is an update available.