mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 13:35:12 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue