From da7773a259bfd40b1c2346fb7c3900f2b67e8fec Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 7 Jun 2012 19:53:39 -0700 Subject: ostatus hub subscription issues --- include/onepoll.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/onepoll.php') diff --git a/include/onepoll.php b/include/onepoll.php index a64922aa3..ba7d5ebaf 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -477,6 +477,9 @@ function onepoll_run($argv, $argc){ if($contact['network'] === NETWORK_DFRN || $contact['blocked'] || $contact['readonly']) $hubmode = 'unsubscribe'; + if($contact['network'] === NETWORK_OSTATUS && (! $contact['hub-verify'])) + $hub_update = true; + if((strlen($hub)) && ($hub_update) && ($contact['rel'] != CONTACT_IS_FOLLOWER)) { logger('poller: hub ' . $hubmode . ' : ' . $hub . ' contact name : ' . $contact['name'] . ' local user : ' . $importer['name']); $hubs = explode(',', $hub); -- cgit v1.2.3