From 580c684f792d6fab16c58b9a08d566cd03c72ca4 Mon Sep 17 00:00:00 2001 From: pdp8 Date: Fri, 6 Oct 2023 15:02:59 +0200 Subject: announce to fixed, find_file replaced with find_object, CONTENT_LENGHT included in signature verification --- views/outbox.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'views/outbox.erb') diff --git a/views/outbox.erb b/views/outbox.erb index db840f4..7b95439 100644 --- a/views/outbox.erb +++ b/views/outbox.erb @@ -3,15 +3,14 @@ pdp8 social - +

pdp8@social.pdp8.info

music, pictures and videos: https://pdp8.info <% @activities.each do |activity| - file = find_file activity['object']['id'] - @object = JSON.load_file file if file and File.exists? file + file, @object = find_object activity['object']['id'] if @object mention = mention @object['attributedTo'] %>
-- cgit v1.2.3