diff options
author | George Hazan <ghazan@miranda.im> | 2022-10-07 20:56:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-10-07 20:56:20 +0300 |
commit | d841f5dbf4a5458bf5642384bb3f8098ab39ec0a (patch) | |
tree | 596bb8efdf4210c2f2a3c6476ef2ea31a8797bd8 /protocols/WhatsAppWeb/src/server.cpp | |
parent | 57d3323eb772ac02941e21048c7461bee2c4b9cb (diff) |
WhatsApp: app sync added
Diffstat (limited to 'protocols/WhatsAppWeb/src/server.cpp')
-rw-r--r-- | protocols/WhatsAppWeb/src/server.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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<WACollection> task(1); + task.insert(new WACollection("regular_high", 9)); + task.insert(new WACollection("regular_low", 11)); + ResyncServer(task); } void WhatsAppProto::OnLoggedOut(void) |