diff options
Diffstat (limited to 'templates/thread_page.php')
| -rw-r--r-- | templates/thread_page.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/thread_page.php b/templates/thread_page.php index d16c6aa..119f879 100644 --- a/templates/thread_page.php +++ b/templates/thread_page.php @@ -10,9 +10,7 @@ call_template('skeleton', [ $notes = Note::findAllInThread($note->threadApex ?? $note); $user = UserAccount::findByCurrentSession(); foreach ($notes as $n) { - if ($user != null && $user->actor->blocks($n->author)) { - call_template('note_hidden'); - } else { + if (!($user != null && $user->actor->blocks($n->author))) { call_template('note', ['note' => $n, 'selected' => $n == $note]); } } |
