summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-12-30 11:03:01 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-12-30 11:03:01 +0000
commit1e96c8f6505891260c9fc48d719ec90060a2560c (patch)
tree01fac1cfac8b7d01999adeced09533fababd7404 /protocols/VKontakte/src/vk_proto.cpp
parent3d805c9681df6ed8fd6fb1e6eef7572d554bed66 (diff)
VKontakte:
add separate options for BBCode on attachments version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@11679 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index ec8fd83a32..c2a266eac5 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -83,7 +83,9 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) :
m_iNewsInterval = getDword("NewsInterval", 15);
m_iNotificationsInterval = getDword("NotificationsInterval", 1);
m_iIMGBBCSupport = getByte("IMGBBCSupport", 0);
- m_iBBCForNews = getByte("BBCForNews", 0);
+ m_iBBCForNews = (BBCSupport)getByte("BBCForNews", 1);
+ m_iBBCForAttachments = (BBCSupport)getByte("BBCForAttachments", 1);
+ m_bUseBBCOnAttacmentsAsNews = getBool("UseBBCOnAttacmentsAsNews", true);
m_bNewsAutoClearHistory = getBool("NewsAutoClearHistory", false);
m_iNewsAutoClearHistoryInterval = getDword("NewsAutoClearHistoryInterval", 60*60*24*3);