diff options
Diffstat (limited to 'protocols/WhatsApp/src/utils.h')
-rw-r--r-- | protocols/WhatsApp/src/utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/utils.h b/protocols/WhatsApp/src/utils.h index 616e1de002..bda92a061e 100644 --- a/protocols/WhatsApp/src/utils.h +++ b/protocols/WhatsApp/src/utils.h @@ -105,7 +105,7 @@ class WAReader { const BYTE *m_buf, *m_limit; - uint32_t readIntN(int i); + uint32_t readIntN(int i); CMStringA readStringFromChars(int size); bool readAttributes(WANode *node, int count); @@ -208,6 +208,8 @@ MBinBuffer decodeBufStr(const std::string &buf); void padBuffer16(MBinBuffer &buf); MBinBuffer unpadBuffer16(const MBinBuffer &buf); +CMStringA getMessageText(const Wa__Message *pMessage); + CMStringA protobuf_c_text_to_string(const ProtobufCMessage *m); MBinBuffer aesDecrypt( |