From 5aa8cfeadaabb8fbc8aa8ead65141e1fff7e09b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Thu, 29 May 2014 13:42:48 +0000 Subject: Facebook: Make checking newsfeeds more frequent git-svn-id: http://svn.miranda-ng.org/main/trunk@9343 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/connection.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'protocols') 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); -- cgit v1.2.3