summaryrefslogtreecommitdiffstats
path: root/vendor/go.mau.fi/whatsmeow/update.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/go.mau.fi/whatsmeow/update.go')
-rw-r--r--vendor/go.mau.fi/whatsmeow/update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/go.mau.fi/whatsmeow/update.go b/vendor/go.mau.fi/whatsmeow/update.go
index ec94aa2f..00e35bfb 100644
--- a/vendor/go.mau.fi/whatsmeow/update.go
+++ b/vendor/go.mau.fi/whatsmeow/update.go
@@ -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.