Provide comment box for PERMS_AUTHED items. Presently only commentable from owners wall.
This commit is contained in:
parent
bfdf5fd15c
commit
f29c5a35f1
@ -214,6 +214,7 @@ function can_comment_on_post($observer_xchan,$item) {
|
||||
break;
|
||||
case 'any connections':
|
||||
case 'contacts':
|
||||
case 'authenticated':
|
||||
case '':
|
||||
if(array_key_exists('owner',$item)) {
|
||||
if(($item['owner']['abook_xchan']) && ($item['owner']['abook_their_perms'] & PERMS_W_COMMENT))
|
||||
|
Reference in New Issue
Block a user