summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/WhatsAppWeb/src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/WhatsAppWeb/src/server.cpp b/protocols/WhatsAppWeb/src/server.cpp
index db2403034a..919e6398e5 100644
--- a/protocols/WhatsAppWeb/src/server.cpp
+++ b/protocols/WhatsAppWeb/src/server.cpp
@@ -498,7 +498,7 @@ void WhatsAppProto::ProcessAdd(const CMStringA &type, const JSONNode &list)
GCEVENT gce = { m_szModuleName, 0, GC_EVENT_MESSAGE };
gce.pszID.a = jid;
gce.dwFlags = GCEF_ADDTOLOG | GCEF_UTF8;
- gce.pszUID.a = "";
+ gce.pszUID.a = payLoad.participant().c_str();
gce.pszText.a = szText;
gce.time = dwTimestamp;
gce.bIsMe = true;