AP hast to be enabled here as well
This commit is contained in:
parent
9f481c1f5e
commit
93ccca5807
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ function item_post(App $a) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allow commenting if it is an answer to a public post
|
// Allow commenting if it is an answer to a public post
|
||||||
$allow_comment = local_user() && ($profile_uid == 0) && $parent && in_array($parent_item['network'], [Protocol::OSTATUS, Protocol::DIASPORA, Protocol::DFRN]);
|
$allow_comment = local_user() && ($profile_uid == 0) && $parent && in_array($parent_item['network'], [Protocol::ACTIVITYPUB, Protocol::OSTATUS, Protocol::DIASPORA, Protocol::DFRN]);
|
||||||
|
|
||||||
// Now check that valid personal details have been provided
|
// Now check that valid personal details have been provided
|
||||||
if (!can_write_wall($profile_uid) && !$allow_comment) {
|
if (!can_write_wall($profile_uid) && !$allow_comment) {
|
||||||
|
|
Loading…
Reference in a new issue