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
1 changed files with 2 additions and 2 deletions

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