dissolve relationship (new protocol) working

This commit is contained in:
Friendika 2011-01-26 02:32:00 -08:00
parent 2fc89deaea
commit c7ace10ffb
3 changed files with 21 additions and 11 deletions

View file

@ -1157,6 +1157,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) {
continue;
}
$datarray = get_atom_elements($feed,$item);
if($contact['network'] === 'stat') {
if(strlen($datarray['title']))
unset($datarray['title']);
@ -1167,6 +1168,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) {
);
$datarray['last-child'] = 1;
}
if(($contact['network'] === 'feed') || (! strlen($contact['notify']))) {
// one way feed - no remote comment ability
$datarray['last-child'] = 0;