summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-10-05 21:52:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-10-05 21:52:15 +0300
commit92735a345ee6837a6c6b5941fd0d7cda7b7a8c2b (patch)
tree76ddc6cb543ced575b778169723ceac8ac66021d /protocols/WhatsAppWeb/src/utils.cpp
parenteec4dbe75110ce06a44998ddaaa625d7e4378543 (diff)
WhatsApp:
- all signal storage data extracted to the separate class MSignalStore; - MSignalSession added to handle session ciphers - signal store callbacks registered - all libsignal related code moved to signal.cpp
Diffstat (limited to 'protocols/WhatsAppWeb/src/utils.cpp')
-rw-r--r--protocols/WhatsAppWeb/src/utils.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/protocols/WhatsAppWeb/src/utils.cpp b/protocols/WhatsAppWeb/src/utils.cpp
index 3f20216b13..fdf2721c17 100644
--- a/protocols/WhatsAppWeb/src/utils.cpp
+++ b/protocols/WhatsAppWeb/src/utils.cpp
@@ -133,19 +133,6 @@ CMStringA WhatsAppProto::generateMessageId()
}
/////////////////////////////////////////////////////////////////////////////////////////
-
-MBinBuffer WhatsAppProto::getBlob(const char *szSetting)
-{
- MBinBuffer buf;
- DBVARIANT dbv = { DBVT_BLOB };
- if (!db_get(0, m_szModuleName, szSetting, &dbv)) {
- buf.assign(dbv.pbVal, dbv.cpbVal);
- db_free(&dbv);
- }
- return buf;
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
// sends a piece of JSON to a server via a websocket, masked
int WhatsAppProto::WSSend(const MessageLite &msg)