diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-21 20:16:45 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-21 20:16:45 +0300 |
commit | f9923b93c1b55cb99987756c772a8002a62cd555 (patch) | |
tree | ca0d460d623e397baebd5786013fb6018435771e | |
parent | ffaa25f519acd93da704bf1347de4bcadd065c73 (diff) |
fix for participant name in group chats
-rw-r--r-- | protocols/WhatsAppWeb/src/server.cpp | 2 |
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; |