From 952d8186f3ac3b5efebed33c11aed244aa27f312 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Jun 2023 20:27:43 +0300 Subject: fixed #3558 (WhatsApp not Signing in) --- protocols/WhatsApp/src/proto.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'protocols/WhatsApp/src/proto.h') diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h index 942ab8d862..0ec03e5313 100644 --- a/protocols/WhatsApp/src/proto.h +++ b/protocols/WhatsApp/src/proto.h @@ -8,8 +8,17 @@ Copyright #if !defined(PROTO_H) #define PROTO_H +#define WA_PROTO_MAJOR 2 +#define WA_PROTO_MINOR 2323 +#define WA_PROTO_BUILD 4 +#define WA_APPVERSION WA_PROTO_MAJOR,WA_PROTO_MINOR,WA_PROTO_BUILD + +#define WA_STRINGIFY_IMPL(x) #x +#define WA_STRINGIFY(x) WA_STRINGIFY_IMPL(x) + +#define WA_APPVERSION_STRING WA_STRINGIFY(WA_APPVERSION) + #define S_WHATSAPP_NET "@s.whatsapp.net" -#define APP_VERSION "2.2230.15" #define KEY_BUNDLE_TYPE "\x05" class WhatsAppProto; -- cgit v1.2.3