From 3a8be7b1606885b3b94bc22a6d775a6527e1c07d Mon Sep 17 00:00:00 2001 From: pdp8 Date: Sun, 30 Jul 2023 15:07:28 +0200 Subject: note parsing, tag links --- client.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'client.rb') diff --git a/client.rb b/client.rb index c2995f5..bc153f5 100644 --- a/client.rb +++ b/client.rb @@ -82,12 +82,6 @@ helpers do halt 403 unless session['client'] end - def find_file(id) - Dir[File.join('*', 'object', '*', '*.json')].find do |f| - JSON.parse(File.read(f))['id'] == id - end - end - def public recipients = ['https://www.w3.org/ns/activitystreams#Public'] recipients += JSON.parse(File.read(FOLLOWERS))['orderedItems'] -- cgit v1.2.3