more work on federating item_nocomment

This commit is contained in:
zotlabs 2020-06-17 21:52:47 -07:00
parent 293fb821c0
commit 3949d62f0c

View file

@ -1802,7 +1802,7 @@ class Libzot {
if ((! $allowed) && PConfig::Get($channel['channel_id'], 'system','permit_all_mentions') && i_am_mentioned($channel,$arr)) { if ((! $allowed) && PConfig::Get($channel['channel_id'], 'system','permit_all_mentions') && i_am_mentioned($channel,$arr)) {
// permit_all_mentions bypasses some comment protections, but if comments are disallowed completely // permit_all_mentions bypasses some comment protections, but if comments are disallowed completely
// honour this setting. // honour this setting.
if (! absolutely_no_comments($arr)) { if (! absolutely_no_comments($parent[0])) {
$allowed = true; $allowed = true;
} }
} }