summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-09-24 09:32:47 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-09-24 09:32:47 +0000
commitf69a195e227235d69538d72e37ee160267edd9f4 (patch)
treea5180829779eb6dc049dabd3acc2317d2828872c
parentb68aad07ca94035442309cf8c68b039573f949ca (diff)
VKontakte: add popup for history import
git-svn-id: http://svn.miranda-ng.org/main/trunk@10570 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/VKontakte/src/vk_thread.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp
index 45fb8ca95d..b577111bf5 100644
--- a/protocols/VKontakte/src/vk_thread.cpp
+++ b/protocols/VKontakte/src/vk_thread.cpp
@@ -672,6 +672,8 @@ void CVkProto::GetHistoryDlgMessages(MCONTACT hContact, int iOffset, int iMaxCou
if (lastcount == 0 || iMaxCount < 1) {
setDword(hContact, "lastmsgid", getDword(hContact, "new_lastmsgid", -1));
db_unset(hContact, m_szModuleName, "new_lastmsgid");
+ if (getBool(hContact, "ImportHistory", false))
+ MsgPopup(hContact, TranslateT("History import is complete"), TranslateT("History import"));
db_unset(hContact, m_szModuleName, "ImportHistory");
return;
}