From 3b594311284ea706ca29de70a3fd65365e6fb022 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 12 Oct 2023 11:53:32 +0300 Subject: [PATCH] Update to web version 2.2344.52 --- binary/proto/def.pb.go | 8 ++++++++ binary/proto/def.pb.raw | Bin 82775 -> 82841 bytes binary/proto/def.proto | 1 + store/clientpayload.go | 2 +- 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/binary/proto/def.pb.go b/binary/proto/def.pb.go index 039c132c..ccdd9f74 100644 --- a/binary/proto/def.pb.go +++ b/binary/proto/def.pb.go @@ -21744,6 +21744,7 @@ type DeviceProps_HistorySyncConfig struct { RecentSyncDaysLimit *uint32 `protobuf:"varint,5,opt,name=recentSyncDaysLimit" json:"recentSyncDaysLimit,omitempty"` SupportCallLogHistory *bool `protobuf:"varint,6,opt,name=supportCallLogHistory" json:"supportCallLogHistory,omitempty"` SupportBotUserAgentChatHistory *bool `protobuf:"varint,7,opt,name=supportBotUserAgentChatHistory" json:"supportBotUserAgentChatHistory,omitempty"` + SupportCagReactionsAndPolls *bool `protobuf:"varint,8,opt,name=supportCagReactionsAndPolls" json:"supportCagReactionsAndPolls,omitempty"` } func (x *DeviceProps_HistorySyncConfig) Reset() { @@ -21827,6 +21828,13 @@ func (x *DeviceProps_HistorySyncConfig) GetSupportBotUserAgentChatHistory() bool return false } +func (x *DeviceProps_HistorySyncConfig) GetSupportCagReactionsAndPolls() bool { + if x != nil && x.SupportCagReactionsAndPolls != nil { + return *x.SupportCagReactionsAndPolls + } + return false +} + type DeviceProps_AppVersion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/binary/proto/def.pb.raw b/binary/proto/def.pb.raw index 8a07ba3515d2a03a24211e6ff01ab6318c83907e..63168a43e7fe4b19dfc0da0ec0a3d3f6cc9498fa 100644 GIT binary patch delta 103 zcmccK#yYc|bwe>T!gxm|T*XpI7Xd imlBYllT$3gp}?rY5rj|4TWB29~W@$#oiJK>|Ok$k;`|G@BCid-2?2OZG0R5B=EdT%j diff --git a/binary/proto/def.proto b/binary/proto/def.proto index dded5839..deec1586 100644 --- a/binary/proto/def.proto +++ b/binary/proto/def.proto @@ -73,6 +73,7 @@ message DeviceProps { optional uint32 recentSyncDaysLimit = 5; optional bool supportCallLogHistory = 6; optional bool supportBotUserAgentChatHistory = 7; + optional bool supportCagReactionsAndPolls = 8; } message AppVersion { diff --git a/store/clientpayload.go b/store/clientpayload.go index bb46d849..a6da3b98 100644 --- a/store/clientpayload.go +++ b/store/clientpayload.go @@ -74,7 +74,7 @@ func (vc WAVersionContainer) ProtoAppVersion() *waProto.ClientPayload_UserAgent_ } // waVersion is the WhatsApp web client version -var waVersion = WAVersionContainer{2, 2343, 55} +var waVersion = WAVersionContainer{2, 2344, 52} // waVersionHash is the md5 hash of a dot-separated waVersion var waVersionHash [16]byte