From: Michael Date: Sun, 30 Sep 2018 21:23:40 +0000 (+0000) Subject: AP hast to be enabled here as well X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=93ccca58074ed79954f428fb5cf67df379f9e691;p=friendica.git AP hast to be enabled here as well --- diff --git a/mod/item.php b/mod/item.php index 20c0aaf747..d73bbc25d9 100644 --- a/mod/item.php +++ b/mod/item.php @@ -159,7 +159,7 @@ function item_post(App $a) { } // 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 if (!can_write_wall($profile_uid) && !$allow_comment) {