diff options
author | George Hazan <ghazan@miranda.im> | 2023-04-19 18:21:47 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-04-19 18:21:47 +0300 |
commit | b72af00b956bd3ec2c2b8593cd1171d7c95668ae (patch) | |
tree | b6e46a72a2a900f17cbf3a0d79b02f2dad071373 /protocols/ICQ-WIM | |
parent | 3f2bbb2b1f230f599b196e7014a40685b2507a73 (diff) |
fixes #3482 (ICQ: не удаётся удалить контакт, находясь в оффлайне)
Diffstat (limited to 'protocols/ICQ-WIM')
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index bc7c0b4f79..e8f360144c 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -1110,11 +1110,11 @@ void CIcqProto::OnStartSession(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest *) int srvTS = data["ts"].as_int();
m_iTimeShift = (srvTS) ? time(0) - srvTS : 0;
- OnLoggedIn();
-
for (auto &it : data["events"])
ProcessEvent(it);
+ OnLoggedIn();
+
ForkThread(&CIcqProto::PollThread);
}
|