summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/message.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-10-28 20:07:32 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-10-28 20:07:32 +0300
commit80ca1947771c0a993abd903cabca462d0d0eb484 (patch)
tree9de79e5390e2a974f5f64f4176acf1ae1ffd02a6 /protocols/WhatsApp/src/message.cpp
parent382f44ca43fb631be7ba14adb9f643ef99f4c2d3 (diff)
WhatsApp: protobuf message printer is with us again
Diffstat (limited to 'protocols/WhatsApp/src/message.cpp')
-rw-r--r--protocols/WhatsApp/src/message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/message.cpp b/protocols/WhatsApp/src/message.cpp
index bdf0bc9c7a..0a9a1e557e 100644
--- a/protocols/WhatsApp/src/message.cpp
+++ b/protocols/WhatsApp/src/message.cpp
@@ -190,7 +190,7 @@ void WhatsAppProto::ProcessMessage(WAMSG type, const Wa__WebMessageInfo &msg)
auto *body = getBody(msg.message);
bool bFromMe = key->fromme;
- // debugLogA("Got a message: %s", msg.Utf8DebugString().c_str());
+ debugLogA("Got a message: %s", protobuf_c_text_to_string(&msg).c_str());
uint32_t timestamp = msg.messagetimestamp;
auto *participant = key->participant;