diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-01 04:41:53 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-01 04:41:53 -0700 |
commit | 7658acbe0adfb499d9460172849f7530b476a8bb (patch) | |
tree | 6cd20f3e1bb19c0c3e4688f713091929bf03044b /include | |
parent | f5615068ca338153ab7dacf5c9ce46c6ed7b1ab4 (diff) | |
download | volse-hubzilla-7658acbe0adfb499d9460172849f7530b476a8bb.tar.gz volse-hubzilla-7658acbe0adfb499d9460172849f7530b476a8bb.tar.bz2 volse-hubzilla-7658acbe0adfb499d9460172849f7530b476a8bb.zip |
automatically subscribe to hub if conditions are right
Diffstat (limited to 'include')
-rw-r--r-- | include/poller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php index fc77946f9..ab3987d65 100644 --- a/include/poller.php +++ b/include/poller.php @@ -164,7 +164,7 @@ consume_feed($xml,$importer,$contact,$hub); - if($contact['usehub'] && strlen($hub)) { + if((strlen($hub)) && (contact['rel'] == REL_BUD) && ($contact['priority'] == 0)) { subscribe_to_hub($hub,$importer,$contact); } |