diff options
Diffstat (limited to 'server.rb')
-rw-r--r-- | server.rb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |