diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-02-21 23:49:11 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-02-21 23:49:11 +0000 |
commit | 808957a884ac8195484c2a7a662b99cc7a163b86 (patch) | |
tree | 9690788a017ec7db0f2f8ca949d0a498f7efdbd1 /protocols/FacebookRM/src/events.cpp | |
parent | b84f891f0dac03a170637a1cf54bd1e25a87eb1f (diff) |
Facebook: Add support for notifying ticker feeds updates; version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@12237 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/events.cpp')
-rw-r--r-- | protocols/FacebookRM/src/events.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/events.cpp b/protocols/FacebookRM/src/events.cpp index db5f0fef22..5a2abf822f 100644 --- a/protocols/FacebookRM/src/events.cpp +++ b/protocols/FacebookRM/src/events.cpp @@ -69,6 +69,14 @@ HWND FacebookProto::NotifyEvent(TCHAR* title, TCHAR* info, MCONTACT contact, DWO SkinPlaySound("Friendship"); flags |= NIIF_INFO; break; + + case FACEBOOK_EVENT_TICKER: + if (!getByte(FACEBOOK_KEY_EVENT_TICKER_ENABLE, DEFAULT_EVENT_TICKER_ENABLE)) + return NULL; + mir_snprintf(name, SIZEOF(name), "%s_%s", m_szModuleName, "Ticker"); + SkinPlaySound("Ticker"); + flags |= NIIF_INFO; + break; } if (!getByte(FACEBOOK_KEY_SYSTRAY_NOTIFY, DEFAULT_SYSTRAY_NOTIFY)) |