summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src/db.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-10-01 14:20:05 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-10-01 14:20:05 +0300
commit87ff6ba67d4df0b4c0ae3db86220b816ec6a1e75 (patch)
tree9927b65a05688d70cf1fef5ef52a7fe956138de2 /protocols/WhatsAppWeb/src/db.h
parent6de31630215f88f3639efb834be02e5af9bfce57 (diff)
WhatsApp:
- first version that registers ok in the phone (YAHOO!!); - the rest of legacy code removed; - class WAJid introduced to handle various perversions; - ServerThread behavior changed to use global variables instead of locals; - IQ processing core extracted to the separate module; - added <stream:error> processing
Diffstat (limited to 'protocols/WhatsAppWeb/src/db.h')
-rw-r--r--protocols/WhatsAppWeb/src/db.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/protocols/WhatsAppWeb/src/db.h b/protocols/WhatsAppWeb/src/db.h
index 66f1686ecc..adab0945e7 100644
--- a/protocols/WhatsAppWeb/src/db.h
+++ b/protocols/WhatsAppWeb/src/db.h
@@ -8,14 +8,8 @@ Copyright © 2019-22 George Hazan
#define MODULENAME "WhatsApp"
// DB keys
-#define DBKEY_ID "ID"
-#define DBKEY_LOGIN "Login"
-#define DBKEY_CC "CountryCode"
-
-#define DBKEY_CLIENT_ID "ClientId"
-#define DBKEY_CLIENT_TOKEN "ClientToken"
-#define DBKEY_SERVER_TOKEN "ServerToken"
-#define DBKEY_BROWSER_TOKEN "BrowserToken"
+#define DBKEY_JID "jid"
+#define DBKEY_DEVICE_ID "DeviceId"
#define DBKEY_NOISE_PUB "NoisePublicKey"
#define DBKEY_NOISE_PRIV "NoisePrivateKey"