Provide comment box for PERMS_AUTHED items. Presently only commentable from owners wall.

This commit is contained in:
Thomas Willingham 2014-10-23 21:50:53 +01:00
parent bfdf5fd15c
commit f29c5a35f1

View File

@ -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))