Skip to content

Commit

Permalink
Set go-whatsapp client version
Browse files Browse the repository at this point in the history
  • Loading branch information
yourealwaysbe committed Nov 4, 2021
1 parent 2e26407 commit 98a74d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions purplegwa.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ func connect_and_login(handler *waHandler, session *whatsapp.Session) {
} else {
wac, err = whatsapp.NewConn(timeout)
}
wac.SetClientVersion(3, 2123, 7)
handler.wac = wac
if err != nil {
wac = nil
Expand Down

0 comments on commit 98a74d2

Please sign in to comment.