automatically subscribe to hub if conditions are right

This commit is contained in:
Mike Macgirvin 2010-10-01 04:41:53 -07:00
parent f5615068ca
commit 7658acbe0a
3 changed files with 2 additions and 18 deletions

View file

@ -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);
}