From 1b2cc63351b8596ac25e16160d063a7e22d4a701 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Mon, 6 Oct 2014 17:06:04 +0000 Subject: VKontakte: sync history popups git-svn-id: http://svn.miranda-ng.org/main/trunk@10706 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_thread.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 9357ba80b9..08b960c271 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -609,7 +609,8 @@ void CVkProto::OnReceiveDlgs(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq) if (pDlgs == NULL) return; - + if (m_bAutoSyncHistory) + MsgPopup(NULL, TranslateT("Start sync history"), TranslateT("Sync history")); for (int i = 0; i < numDlgs; i++) { JSONNODE *pDlg = json_at(pDlgs, i); if (pDlg == NULL) @@ -652,6 +653,8 @@ void CVkProto::OnReceiveDlgs(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq) MarkMessagesRead(hContact); } } + if (m_bAutoSyncHistory) + MsgPopup(NULL, TranslateT("Sync history complete"), TranslateT("Sync history")); RetrieveUsersInfo(); } -- cgit v1.2.3