summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r--protocols/VKontakte/src/vk_thread.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp
index 1a00bc5d6c..d2fe30a192 100644
--- a/protocols/VKontakte/src/vk_thread.cpp
+++ b/protocols/VKontakte/src/vk_thread.cpp
@@ -402,8 +402,10 @@ MCONTACT CVkProto::SetContactInfo(const JSONNode &jnItem, bool flag, bool self)
setWString(hContact, "ListeningTo", wszListeningTo);
setWString(hContact, "AudioUrl", jnAudio["url"].as_mstring());
- if (m_vkOptions.bPopupContactsMusic && getBool(hContact, "FloodListingToPopups", true))
- MsgPopup(hContact, wszListeningTo, TranslateT("Listening to"));
+ if (m_vkOptions.bPopupContactsMusic && getBool(hContact, "FloodListingToPopups", true)) {
+ CMStringW wszTitle(FORMAT, L"%s %s", wszNick.c_str(), TranslateT("listening to"));
+ MsgPopup(hContact, wszListeningTo, wszTitle);
+ }
}
}
else if (wszValue[0] == wchar_t(9835) && wszValue.GetLength() > 2) {