diff options
author | George Hazan <george.hazan@gmail.com> | 2023-06-12 20:27:43 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-06-12 20:27:48 +0300 |
commit | 952d8186f3ac3b5efebed33c11aed244aa27f312 (patch) | |
tree | e01ff7249034dbabc993dc9e31f703de47a4c6eb /protocols/WhatsApp/src/proto.h | |
parent | ab227cc514430be9528df261043af860dc3d3b42 (diff) |
fixed #3558 (WhatsApp not Signing in)
Diffstat (limited to 'protocols/WhatsApp/src/proto.h')
-rw-r--r-- | protocols/WhatsApp/src/proto.h | 11 |
1 files changed, 10 insertions, 1 deletions
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 © 2019-23 George Hazan #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;
|