mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 18:15:11 +00:00
more work on federating item_nocomment
This commit is contained in:
parent
293fb821c0
commit
3949d62f0c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue