From 72487fc9b2d8b99318941edc27c71c3be36a0872 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 15 Nov 2022 19:56:27 +0300 Subject: =?UTF-8?q?fixes=20#3242=20(WhatsApp:=20=D0=BD=D0=B5=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=B3=D1=80=D1=83=D0=B6=D0=B0=D0=B5=D1=82=D1=81=D1=8F=20?= =?UTF-8?q?=D0=B8=D0=BC=D1=8F=20=D0=BE=D0=B4=D0=BD=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BD=D1=82=D0=B0=D0=BA=D1=82=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/WhatsApp/src/appsync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/WhatsApp/src/appsync.cpp b/protocols/WhatsApp/src/appsync.cpp index 928e78fe50..5f17b2e765 100644 --- a/protocols/WhatsApp/src/appsync.cpp +++ b/protocols/WhatsApp/src/appsync.cpp @@ -301,7 +301,7 @@ void WhatsAppProto::ProcessHistorySync(const Wa__HistorySync *pSync) case WA__HISTORY_SYNC__HISTORY_SYNC_TYPE__PUSH_NAME: for (int i = 0; i < pSync->n_pushnames; i++) { auto *pName = pSync->pushnames[i]; - if (auto *pUser = FindUser(pName->id)) + if (auto *pUser = AddUser(pName->id, false)) setUString(pUser->hContact, "Nick", pName->pushname); } break; -- cgit v1.2.3