From 88518c5a4fa4fa9d841bb0d1c8add9fa2234530c Mon Sep 17 00:00:00 2001 From: pdp8 Date: Wed, 20 Dec 2023 11:20:50 +0100 Subject: follow, announce, delete fixed --- views/outbox.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views') diff --git a/views/outbox.erb b/views/outbox.erb index 0efb78c..23adb19 100644 --- a/views/outbox.erb +++ b/views/outbox.erb @@ -12,10 +12,11 @@

<% if @type == 'create' %>

posts | boosts

- <% elsif @type = 'announce' %> + <% elsif @type == 'announce' %>

posts | boosts

<% end %> <% @objects.each do |object| + object = fetch(object) if object.is_a? String mention = mention object['attributedTo'] %>

' target='_blank'><%= mention %>  -- cgit v1.2.3