From f9923b93c1b55cb99987756c772a8002a62cd555 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 21 Apr 2021 20:16:45 +0300 Subject: fix for participant name in group chats --- protocols/WhatsAppWeb/src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/WhatsAppWeb') 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; -- cgit v1.2.3