From d841f5dbf4a5458bf5642384bb3f8098ab39ec0a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 7 Oct 2022 20:56:20 +0300 Subject: WhatsApp: app sync added --- protocols/WhatsAppWeb/src/server.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'protocols/WhatsAppWeb/src/server.cpp') diff --git a/protocols/WhatsAppWeb/src/server.cpp b/protocols/WhatsAppWeb/src/server.cpp index 57dc3eae50..07ce22b419 100644 --- a/protocols/WhatsAppWeb/src/server.cpp +++ b/protocols/WhatsAppWeb/src/server.cpp @@ -251,6 +251,12 @@ void WhatsAppProto::OnLoggedIn() WSSendNode( WANodeIq(IQ::GET, "privacy") << XCHILD("privacy"), &WhatsAppProto::OnIqDoNothing); + + /////////////////////////// + OBJLIST task(1); + task.insert(new WACollection("regular_high", 9)); + task.insert(new WACollection("regular_low", 11)); + ResyncServer(task); } void WhatsAppProto::OnLoggedOut(void) -- cgit v1.2.3