Skip to content

Commit aa53f24

Browse files
committed
set go-whatsapp client version to fix login error
Based on Rhymen/go-whatsapp#626 (comment)
1 parent b282213 commit aa53f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

messages/session_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func (sm *SessionManager) getConnection() *whatsapp.Conn {
194194
}
195195
wac = wacc
196196
sm.connection = wac
197-
//wac.SetClientVersion(2, 2021, 4)
197+
wac.SetClientVersion(2, 2142, 12)
198198
} else {
199199
wac = sm.connection
200200
}

0 commit comments

Comments
 (0)