From 92735a345ee6837a6c6b5941fd0d7cda7b7a8c2b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 5 Oct 2022 21:52:15 +0300 Subject: 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 --- protocols/WhatsAppWeb/src/utils.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'protocols/WhatsAppWeb/src/utils.cpp') 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 @@ -132,19 +132,6 @@ CMStringA WhatsAppProto::generateMessageId() return CMStringA(FORMAT, "%d.%d-%d", m_wMsgPrefix[0], m_wMsgPrefix[1], m_iPacketId++); } -///////////////////////////////////////////////////////////////////////////////////////// - -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 -- cgit v1.2.3