From: Michael Vogel Date: Sat, 10 Mar 2012 10:29:40 +0000 (+0100) Subject: New config options if ostatus polling should use the priority in the contacts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e098147c24bd45bc15c14fc597bd101b66011458;p=friendica.git New config options if ostatus polling should use the priority in the contacts --- diff --git a/include/poller.php b/include/poller.php index 3be6caebd7..f165ad5905 100755 --- a/include/poller.php +++ b/include/poller.php @@ -140,7 +140,10 @@ function poller_run($argv, $argc){ if($manual_id) $contact['last-update'] = '0000-00-00 00:00:00'; - if($contact['network'] === NETWORK_DFRN || $contact['network'] === NETWORK_OSTATUS) + if($contact['network'] === NETWORK_DFRN) + $contact['priority'] = 2; + + if(!get_config('system','ostatus_use_priority') and ($contact['network'] === NETWORK_OSTATUS)) $contact['priority'] = 2; if($contact['priority'] || $contact['subhub']) {