From dd1344202212d18a7e162dec4a1969f5c54dbed8 Mon Sep 17 00:00:00 2001 From: ElzorFox Date: Fri, 28 Jul 2017 01:15:34 +0500 Subject: VKontakte: add nick to broadcast popup title --- protocols/VKontakte/src/vk_thread.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'protocols/VKontakte/src/vk_thread.cpp') 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) { -- cgit v1.2.3