From 8934ae2caa8cdc2cc70baf0047a8812b0538963f Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Wed, 28 Oct 2015 05:22:20 +0000 Subject: =?UTF-8?q?VKontakte:=20add=20=E2=80=98Message=20for=20return=20to?= =?UTF-8?q?=20chat=E2=80=99=20option=20add=20=E2=80=98Use=20non-standard?= =?UTF-8?q?=20popups=20for=20news=20and=20event=20notifications=E2=80=99?= =?UTF-8?q?=20option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.miranda-ng.org/main/trunk@15628 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_feed.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'protocols/VKontakte/src/vk_feed.cpp') diff --git a/protocols/VKontakte/src/vk_feed.cpp b/protocols/VKontakte/src/vk_feed.cpp index 87c69bc9b1..7e13131cb0 100644 --- a/protocols/VKontakte/src/vk_feed.cpp +++ b/protocols/VKontakte/src/vk_feed.cpp @@ -60,9 +60,13 @@ void CVkProto::AddFeedEvent(CVKNewsItem& vkNewsItem) recv.lParam = 0; recv.pCustomData = NULL; recv.cbCustomDataSize = 0; - recv.flags = PREF_CREATEREAD; + + if (m_bUseNonStandardNotifications) { + recv.flags = PREF_CREATEREAD; + MsgPopup(hContact, vkNewsItem.tszPopupText, vkNewsItem.tszPopupTitle); + } + ProtoChainRecvMsg(hContact, &recv); - MsgPopup(hContact, vkNewsItem.tszPopupText, vkNewsItem.tszPopupTitle); } void CVkProto::AddCListEvent(bool bNews) -- cgit v1.2.3