aboutsummaryrefslogtreecommitdiffstats
path: root/include/onepoll.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-07 19:53:39 -0700
committerfriendica <info@friendica.com>2012-06-07 19:53:39 -0700
commitda7773a259bfd40b1c2346fb7c3900f2b67e8fec (patch)
treef47c3033657e697c43aa4b95976840e17130b003 /include/onepoll.php
parent52d90674ea5c35b95cff9b9fba1ac2b275ff3819 (diff)
downloadvolse-hubzilla-da7773a259bfd40b1c2346fb7c3900f2b67e8fec.tar.gz
volse-hubzilla-da7773a259bfd40b1c2346fb7c3900f2b67e8fec.tar.bz2
volse-hubzilla-da7773a259bfd40b1c2346fb7c3900f2b67e8fec.zip
ostatus hub subscription issues
Diffstat (limited to 'include/onepoll.php')
-rw-r--r--include/onepoll.php3
1 files changed, 3 insertions, 0 deletions
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);