diff options
author | George Hazan <ghazan@miranda.im> | 2022-11-15 19:56:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-11-15 19:56:27 +0300 |
commit | 72487fc9b2d8b99318941edc27c71c3be36a0872 (patch) | |
tree | 236fe11ca4c0ab414dd490fa11264fb215da7396 /protocols | |
parent | 7fc3edada208ae690149378c457aaf3adebdaad7 (diff) |
fixes #3242 (WhatsApp: не загружается имя одного контакта)
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/WhatsApp/src/appsync.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |