summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-12-26 04:23:50 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-12-26 04:23:50 +0000
commitefee96cfd3e6318ed376363ab9781bd944940107 (patch)
tree65b7c778fb973910bd0dc8bc82b56e4e3c70b7e0 /protocols/VKontakte/src/vk_proto.cpp
parentf323ef4e6b1fe263e5564c66da33bdef7eb5fdde (diff)
VKontakte:
add news&notification autoclear option code cleanup version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@11641 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index ef47adc411..9ca06e231a 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -84,6 +84,8 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) :
m_iNotificationsInterval = getDword("NotificationsInterval", 1);
m_iIMGBBCSupport = getByte("IMGBBCSupport", 0);
m_iBBCForNews = getByte("BBCForNews", 0);
+ m_bNewsAutoClearHistory = getBool("NewsAutoClearHistory", 0);
+ m_iNewsAutoClearHistoryInterval = getDword("NewsAutoClearHistoryInterval", 60*60*24*3);
// Set all contacts offline -- in case we crashed
SetAllContactStatuses(ID_STATUS_OFFLINE);