summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-11-26 05:03:20 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-11-26 05:03:20 +0000
commit78ea011bd205b2b7f538950d32935f93debd6040 (patch)
tree6af575b89b9dcc2900a64283bb87083f09049536 /protocols/VKontakte/src/vk_proto.cpp
parentdb2ec6c60fc50ea7a66a9d782b1af1017df596ca (diff)
VKontakte:
more options for sync history on protocol online some code cleanup version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@11079 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index 27001486c7..8f2db393b7 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -64,7 +64,6 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) :
m_bServerDelivery = getBool("ServerDelivery", true);
m_bHideChats = getBool("HideChats", true);
m_bMesAsUnread = getBool("MesAsUnread", false);
- m_bAutoSyncHistory = getBool("AutoSyncHistory", true);
m_bUseLocalTime = getBool("UseLocalTime", false);
m_bReportAbuse = getBool("ReportAbuseOnBanUser", false);
m_bClearServerHistory = getBool("ClearServerHistoryOnBanUser", false);
@@ -75,8 +74,8 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) :
m_bAddImgBbc = getBool("AddImgBbc", false);
m_bStikersAsSmyles = getBool("StikersAsSmyles", false);
m_bUserForceOnlineOnActivity = getBool("UserForceOnlineOnActivity", false);
-
m_iMusicSendMetod = getByte("MusicSendMetod", sendBroadcastOnly);
+ m_iSyncHistoryMetod = getByte("SyncHistoryMetod", syncOff);
CMStringA szListeningTo(m_szModuleName);
szListeningTo += "Enabled";
db_set_b(NULL, "ListeningTo", szListeningTo.GetBuffer(), m_iMusicSendMetod == 0 ? 0 : 1);