summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-12-08 19:43:11 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-12-08 19:43:11 +0300
commitbc47c9bd4f83f19501b49404eea6a17326b5d4cb (patch)
tree85b2370b988fec7f7225b53be4585151c3abbd5b /protocols/WhatsApp/src/server.cpp
parent9589c7adf93691f60c613f944ae60ff9bd692b91 (diff)
fixes #3252 (WhatsApp: при первом выходе в сеть групчаты прилетают как "Неизвестный контакт")
Diffstat (limited to 'protocols/WhatsApp/src/server.cpp')
-rw-r--r--protocols/WhatsApp/src/server.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/WhatsApp/src/server.cpp b/protocols/WhatsApp/src/server.cpp
index 0745c08aad..0afe96662d 100644
--- a/protocols/WhatsApp/src/server.cpp
+++ b/protocols/WhatsApp/src/server.cpp
@@ -292,11 +292,7 @@ void WhatsAppProto::OnLoggedIn()
WANodeIq(IQ::GET, "privacy") << XCHILD("privacy"),
&WhatsAppProto::OnIqDoNothing);
- for (auto &it : m_arUsers)
- if (it->bIsGroupChat) {
- GC_GetAllMetadata();
- return;
- }
+ GC_RefreshMetadata();
}
void WhatsAppProto::OnLoggedOut(void)