no comment box if no notify, not no poll

pull/1/head
Friendika 12 years ago
parent bb5ad77e2a
commit 696eff1031
  1. 4
      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;
}

Loading…
Cancel
Save