Skip to content

Commit

Permalink
Update to web version 2.2321.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed May 22, 2023
1 parent d5485ef commit ba5da01
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
17 changes: 17 additions & 0 deletions binary/proto/def.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified binary/proto/def.pb.raw
Binary file not shown.
4 changes: 4 additions & 0 deletions binary/proto/def.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ message DeviceProps {
IOS_CATALYST = 15;
ANDROID_PHONE = 16;
ANDROID_AMBIGUOUS = 17;
WEAR_OS = 18;
AR_WRIST = 19;
AR_DEVICE = 20;
}
message HistorySyncConfig {
optional uint32 fullSyncDaysLimit = 1;
Expand Down Expand Up @@ -2012,6 +2015,7 @@ message ClientPayload {
optional string localeLanguageIso6391 = 11;
optional string localeCountryIso31661Alpha2 = 12;
optional string deviceBoard = 13;
optional string deviceExpId = 14;
}

enum Product {
Expand Down
2 changes: 1 addition & 1 deletion store/clientpayload.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (vc WAVersionContainer) ProtoAppVersion() *waProto.ClientPayload_UserAgent_
}

// waVersion is the WhatsApp web client version
var waVersion = WAVersionContainer{2, 2320, 10}
var waVersion = WAVersionContainer{2, 2321, 6}

// waVersionHash is the md5 hash of a dot-separated waVersion
var waVersionHash [16]byte
Expand Down

0 comments on commit ba5da01

Please sign in to comment.