From 696eff1031864931477c7b2da3c8f39e4befac40 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 25 Jan 2011 18:25:04 -0800 Subject: no comment box if no notify, not no poll --- include/items.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index b6a588800..7b0ff2ce6 100644 --- a/include/items.php +++ b/include/items.php @@ -1167,7 +1167,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) { ); $datarray['last-child'] = 1; } - if(($contact['network'] === 'feed') || (! strlen($contact['poll']))) { + if(($contact['network'] === 'feed') || (! strlen($contact['notify']))) { // one way feed - no remote comment ability $datarray['last-child'] = 0; } @@ -1223,7 +1223,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) { $datarray['last-child'] = 1; } - if(($contact['network'] === 'feed') || (! strlen($contact['poll']))) { + if(($contact['network'] === 'feed') || (! strlen($contact['notify']))) { // one way feed - no remote comment ability $datarray['last-child'] = 0; } -- cgit v1.2.3 From c7ace10ffb4a9f7dcb5e24eb4db25a4cfb449de7 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 26 Jan 2011 02:32:00 -0800 Subject: dissolve relationship (new protocol) working --- include/items.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index 7b0ff2ce6..e238280fc 100644 --- a/include/items.php +++ b/include/items.php @@ -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; -- cgit v1.2.3