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

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