diff options
author | ElzorFox <elzorfox@ya.ru> | 2017-07-28 01:15:34 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2017-07-28 01:15:34 +0500 |
commit | dd1344202212d18a7e162dec4a1969f5c54dbed8 (patch) | |
tree | 9b59a97f41173fe357e955db760350301371c799 /protocols | |
parent | 2fdfdda14b5703240f08a0b4e278185807681e1d (diff) |
VKontakte: add nick to broadcast popup title
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 6 |
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) {
|