summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src/utils.cpp
diff options
context:
space:
mode:
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)