summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-10-23 07:48:18 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-10-23 07:48:18 +0000
commit3b1846ee1e29db1cde81f95fd9446b3a3cd7065e (patch)
treef33589b6c37be5e22ca0c92c312aa7e1edef38df /protocols/VKontakte/src/vk_proto.cpp
parent9f1add5b8885c48efb50aa8a7b16eb46d1d7e20d (diff)
VKontakte:
improved search track for broadcast music (path by alitor) reworked code for broadcast music add recognition TCHAR(9835) as broadcasting sign version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@10846 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index 53be268746..e02942e11f 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -76,7 +76,11 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) :
m_bAddImgBbc = getBool("AddImgBbc", false);
m_bStikersAsSmyles = getBool("StikersAsSmyles", false);
m_bUserForceOnlineOnActivity = getBool("UserForceOnlineOnActivity", false);
- m_bAudioStatusOnly = getBool("AudioStatusOnly", false);
+
+ m_iMusicSendMetod = getByte("MusicSendMetod", 0);
+ CMStringA szListeningTo(m_szModuleName);
+ szListeningTo += "Enabled";
+ db_set_b(NULL, "ListeningTo", szListeningTo.GetBuffer(), m_iMusicSendMetod == 0 ? 0 : 1);
// Set all contacts offline -- in case we crashed
SetAllContactStatuses(ID_STATUS_OFFLINE);