summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/server.cpp
diff options
context:
space:
mode:
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)