diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-07-05 17:58:52 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-07-05 17:58:52 +0000 |
commit | 3549466bfab1c6fdb20d8eb55fe0124f2c6704a7 (patch) | |
tree | abeae6ada5faf22abf3f146bbc763fd2291289e6 /protocols/FacebookRM/src/connection.cpp | |
parent | b17412619a1706782330e116c6c9e5dd00e39dde (diff) |
Facebook: Rework popup behavior and options page
Now items in status menu/services are much more useful, as you can disable automatic loading of newsfeeds/notifications/on this day, but you can trigger it manually via status menu/services menu
git-svn-id: http://svn.miranda-ng.org/main/trunk@17063 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/connection.cpp')
-rw-r--r-- | protocols/FacebookRM/src/connection.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/connection.cpp b/protocols/FacebookRM/src/connection.cpp index 6825732bfd..3845e50406 100644 --- a/protocols/FacebookRM/src/connection.cpp +++ b/protocols/FacebookRM/src/connection.cpp @@ -121,7 +121,8 @@ void FacebookProto::ChangeStatus(void*) ForkThread(&FacebookProto::ProcessUnreadMessages, NULL); // Get notifications - ForkThread(&FacebookProto::ProcessNotifications, NULL); + if (getByte(FACEBOOK_KEY_EVENT_NOTIFICATIONS_ENABLE, DEFAULT_EVENT_NOTIFICATIONS_ENABLE)) + ForkThread(&FacebookProto::ProcessNotifications, NULL); // Load pages for post status dialog ForkThread(&FacebookProto::ProcessPages, NULL); |