summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src/db.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-10-06 15:04:47 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-10-06 15:04:47 +0300
commit824b202d681be059056b0bf7d9db2799c79d7ae4 (patch)
treec5b9f407b7f10513ad880d50fad40a2ba9ee9b4d /protocols/WhatsAppWeb/src/db.h
parent43134f01d3bcf7d5abe6c84c297faf1372e38bda (diff)
WhatsApp:
- global context moved inside MSignalStore; - signed prekey is stored now as one binary record; - libsignal errors are now logged to network log; - code cleaning
Diffstat (limited to 'protocols/WhatsAppWeb/src/db.h')
-rw-r--r--protocols/WhatsAppWeb/src/db.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/WhatsAppWeb/src/db.h b/protocols/WhatsAppWeb/src/db.h
index adab0945e7..0686693330 100644
--- a/protocols/WhatsAppWeb/src/db.h
+++ b/protocols/WhatsAppWeb/src/db.h
@@ -13,12 +13,11 @@ Copyright � 2019-22 George Hazan
#define DBKEY_NOISE_PUB "NoisePublicKey"
#define DBKEY_NOISE_PRIV "NoisePrivateKey"
+
#define DBKEY_SIGNED_IDENTITY_PUB "SignedIdentityPublicKey"
#define DBKEY_SIGNED_IDENTITY_PRIV "SignedIdentityPrivateKey"
-#define DBKEY_PREKEY_PUB "PrekeyPublicKey"
-#define DBKEY_PREKEY_PRIV "PrekeyPrivateKey"
-#define DBKEY_PREKEY_SIGN "PrekeySignature"
-#define DBKEY_PREKEY_KEYID "PrekeyKeyId"
+
+#define DBKEY_PREKEY "SignedPreKey0"
#define DBKEY_PREKEY_NEXT_ID "PrekeyNextId"
#define DBKEY_PREKEY_UPLOAD_ID "PrekeyUploadId"