From cb3ccf5f47b2e7a30cf89aae9d0c7b5a7be5307d Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Wed, 7 Dec 2022 13:41:12 +0000 Subject: [PATCH] Add check for null reply_to_user --- .../web/templates/static_fe/static_fe/_notice.html.eex | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/pleroma/web/templates/static_fe/static_fe/_notice.html.eex b/lib/pleroma/web/templates/static_fe/static_fe/_notice.html.eex index 6585e81b6..793f4ad51 100644 --- a/lib/pleroma/web/templates/static_fe/static_fe/_notice.html.eex +++ b/lib/pleroma/web/templates/static_fe/static_fe/_notice.html.eex @@ -46,9 +46,11 @@ <%= gettext("Reply to") %> - - @<%= @reply_to_user.nickname %> - + <%= if @reply_to_user do %> + + @<%= @reply_to_user.nickname %> + + <% end %> <% end %>