From 3daf30b0a3837d3d8becb0baceed580e92403ce6 Mon Sep 17 00:00:00 2001 From: pdp8 Date: Tue, 25 Jul 2023 00:24:02 +0200 Subject: send notes to outbox --- server.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server.rb') diff --git a/server.rb b/server.rb index 666b59e..e9f4f2e 100644 --- a/server.rb +++ b/server.rb @@ -83,6 +83,11 @@ helpers do update_collection FOLLOWERS, @activity['object']['actor'], true end + def update + FileUtils.rm(find_file(@activity['object']['id'])) + create + end + # https://github.com/mastodon/mastodon/blob/main/app/controllers/concerns/signature_verification.rb def verify! # digest -- cgit v1.2.3