fix issue where reply-to button is not diplayed for anonymous visitors allthough permission is granted

(cherry picked from commit 8d9623674d)

Co-authored-by: Mario Vavti <mario@mariovavti.com>
This commit is contained in:
Mario
2026-01-29 16:28:37 +00:00
parent 0c835c3403
commit 951187e540

View File

@@ -283,9 +283,12 @@ class ThreadItem {
$reply_to = [];
$reactions_allowed = false;
if($this->is_commentable() && $observer) {
if($this->is_commentable()) {
$reply_to = array( t("Reply to this message"), t("reply"), t("Reply to"));
$reactions_allowed = true;
if ($observer) {
$reactions_allowed = true;
}
}
$share = [];