Merge pull request #660 from beardy-unixer/master
Provide comment box for PERMS_AUTHED items. Presently only commentable ...
This commit is contained in:
commit
0b2cacad02
@ -214,6 +214,7 @@ function can_comment_on_post($observer_xchan,$item) {
|
|||||||
break;
|
break;
|
||||||
case 'any connections':
|
case 'any connections':
|
||||||
case 'contacts':
|
case 'contacts':
|
||||||
|
case 'authenticated':
|
||||||
case '':
|
case '':
|
||||||
if(array_key_exists('owner',$item)) {
|
if(array_key_exists('owner',$item)) {
|
||||||
if(($item['owner']['abook_xchan']) && ($item['owner']['abook_their_perms'] & PERMS_W_COMMENT))
|
if(($item['owner']['abook_xchan']) && ($item['owner']['abook_their_perms'] & PERMS_W_COMMENT))
|
||||||
|
Reference in New Issue
Block a user