From: FloatingGhost Date: Wed, 7 Dec 2022 13:41:12 +0000 (+0000) Subject: Add check for null reply_to_user X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=cb3ccf5f47b2e7a30cf89aae9d0c7b5a7be5307d;p=akkoma Add check for null reply_to_user --- 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 %>