no comment box if no notify, not no poll

This commit is contained in:
Friendika 2011-01-25 18:25:04 -08:00
parent bb5ad77e2a
commit 696eff1031

View file

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