summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_feed.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-10-28 05:22:20 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-10-28 05:22:20 +0000
commit8934ae2caa8cdc2cc70baf0047a8812b0538963f (patch)
treeaaa1f29c55fdc0a1b74b0108e6e2007eae8f04ae /protocols/VKontakte/src/vk_feed.cpp
parent340386821c6b9e3c2e7b2cde0ec9e082efebcaec (diff)
VKontakte:
add ‘Message for return to chat’ option add ‘Use non-standard popups for news and event notifications’ option git-svn-id: http://svn.miranda-ng.org/main/trunk@15628 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_feed.cpp')
-rw-r--r--protocols/VKontakte/src/vk_feed.cpp8
1 files changed, 6 insertions, 2 deletions
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)