summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-04-21 20:16:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-04-21 20:16:45 +0300
commitf9923b93c1b55cb99987756c772a8002a62cd555 (patch)
treeca0d460d623e397baebd5786013fb6018435771e /protocols/WhatsAppWeb
parentffaa25f519acd93da704bf1347de4bcadd065c73 (diff)
fix for participant name in group chats
Diffstat (limited to 'protocols/WhatsAppWeb')
-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;