mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
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:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user