summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_thread.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2017-07-22 14:16:33 +0500
committerElzorFox <elzorfox@ya.ru>2017-07-22 14:16:33 +0500
commit598832374fdbd4ceb6d2e670bc2082e4d3fd8385 (patch)
treeb71958ddea1375045b6bfc20af08f4cfd7000495 /protocols/VKontakte/src/vk_thread.cpp
parentee83be6d28b4719d6b74158d458a73c096fb53e7 (diff)
VKontakte:
remove ‘Use non-standard urlEncode for sent messages (less traffic)’ option (now ExpUrlEncode is used by default) add UseStandardUrlEncode hidden option :) add ‘Notify about changes of contacts audio broadcast’ option (default false) add FloodListingToPopups contacts hidden option (default true) version bump
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r--protocols/VKontakte/src/vk_thread.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp
index a0bf8e7dc7..67f6acce0e 100644
--- a/protocols/VKontakte/src/vk_thread.cpp
+++ b/protocols/VKontakte/src/vk_thread.cpp
@@ -401,6 +401,9 @@ MCONTACT CVkProto::SetContactInfo(const JSONNode &jnItem, bool flag, bool self)
if (wszListeningTo != wszOldListeningTo) {
setWString(hContact, "ListeningTo", wszListeningTo);
setWString(hContact, "AudioUrl", jnAudio["url"].as_mstring());
+
+ if (m_vkOptions.bPopupContactsMusic && getBool(hContact, "FloodListingToPopups", true))
+ MsgPopup(hContact, wszListeningTo, TranslateT("Listing to"));
}
}
else if (wszValue[0] == wchar_t(9835) && wszValue.GetLength() > 2) {