hopefully(?) the final word on remote comment permissions

This commit is contained in:
friendica
2013-09-20 20:15:53 -07:00
parent 43e290f4c0
commit fd2379530c
2 changed files with 4 additions and 3 deletions

View File

@@ -63,6 +63,7 @@ function collect_recipients($item,&$private) {
}
function can_comment_on_post($observer_xchan,$item) {
if(! $observer_xchan)
return false;
@@ -84,9 +85,6 @@ function can_comment_on_post($observer_xchan,$item) {
if(($item['owner']['abook_xchan']) && ($item['owner']['abook_their_perms'] & PERMS_W_COMMENT))
return true;
}
else {
return true;
}
break;
default:
break;