diff options
author | Wim <wim@42.be> | 2020-04-21 19:55:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 19:55:47 +0200 |
commit | 19eec2ed032f5f60086da1b318046113943575e3 (patch) | |
tree | 76169f79e4b8439b7be9065043aeca8725cc8af9 /vendor/github.com/Rhymen/go-whatsapp/conn.go | |
parent | d99c54343a8e097a8503854cff8b0d74ca7f9c3e (diff) | |
download | matterbridge-msglm-19eec2ed032f5f60086da1b318046113943575e3.tar.gz matterbridge-msglm-19eec2ed032f5f60086da1b318046113943575e3.tar.bz2 matterbridge-msglm-19eec2ed032f5f60086da1b318046113943575e3.zip |
Update Rhymen/go-whatsapp. Fixes #1107 (#1109)
Diffstat (limited to 'vendor/github.com/Rhymen/go-whatsapp/conn.go')
-rw-r--r-- | vendor/github.com/Rhymen/go-whatsapp/conn.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/Rhymen/go-whatsapp/conn.go b/vendor/github.com/Rhymen/go-whatsapp/conn.go index 26df39da..f8b57443 100644 --- a/vendor/github.com/Rhymen/go-whatsapp/conn.go +++ b/vendor/github.com/Rhymen/go-whatsapp/conn.go @@ -90,6 +90,7 @@ type Conn struct { longClientName string shortClientName string + clientVersion string loginSessionLock sync.RWMutex Proxy func(*http.Request) (*url.URL, error) @@ -121,6 +122,7 @@ func NewConn(timeout time.Duration) (*Conn, error) { longClientName: "github.com/rhymen/go-whatsapp", shortClientName: "go-whatsapp", + clientVersion: "0.1.0", } return wac, wac.connect() } @@ -135,6 +137,7 @@ func NewConnWithProxy(timeout time.Duration, proxy func(*http.Request) (*url.URL longClientName: "github.com/rhymen/go-whatsapp", shortClientName: "go-whatsapp", + clientVersion: "0.1.0", Proxy: proxy, } return wac, wac.connect() |