mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:50:15 +00:00
dissolve relationship (new protocol) working
This commit is contained in:
parent
2fc89deaea
commit
c7ace10ffb
3 changed files with 21 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue