diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-05-29 13:42:48 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-05-29 13:42:48 +0000 |
commit | 5aa8cfeadaabb8fbc8aa8ead65141e1fff7e09b1 (patch) | |
tree | abd9608f907eafabe1c0304dc461f98152691dee | |
parent | 310f2fd36cc0d1d736ea9c061d3ef0b928c6e360 (diff) |
Facebook: Make checking newsfeeds more frequent
git-svn-id: http://svn.miranda-ng.org/main/trunk@9343 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/FacebookRM/src/connection.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/connection.cpp b/protocols/FacebookRM/src/connection.cpp index 48c290dfba..c29b8ba8d0 100644 --- a/protocols/FacebookRM/src/connection.cpp +++ b/protocols/FacebookRM/src/connection.cpp @@ -178,11 +178,12 @@ void FacebookProto::UpdateLoop(void *) for (int i = -1; !isOffline(); i = ++i % 50)
{
- if (i != -1)
+ if (i != -1) {
ProcessBuddyList(NULL);
- if (i == 2 && getByte(FACEBOOK_KEY_EVENT_FEEDS_ENABLE, DEFAULT_EVENT_FEEDS_ENABLE))
- ProcessFeeds(NULL);
+ if (getByte(FACEBOOK_KEY_EVENT_FEEDS_ENABLE, DEFAULT_EVENT_FEEDS_ENABLE))
+ ProcessFeeds(NULL);
+ }
if (i == 49)
ProcessFriendRequests(NULL);
|