New config options if ostatus polling should use the priority in the contacts
This commit is contained in:
parent
15916a2cb7
commit
e098147c24
|
@ -140,7 +140,10 @@ function poller_run($argv, $argc){
|
||||||
if($manual_id)
|
if($manual_id)
|
||||||
$contact['last-update'] = '0000-00-00 00:00:00';
|
$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;
|
$contact['priority'] = 2;
|
||||||
|
|
||||||
if($contact['priority'] || $contact['subhub']) {
|
if($contact['priority'] || $contact['subhub']) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user