summaryrefslogtreecommitdiff
path: root/client.rb
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2023-07-30 15:07:28 +0200
committerpdp8 <pdp8@pdp8.info>2023-07-30 15:07:28 +0200
commit3a8be7b1606885b3b94bc22a6d775a6527e1c07d (patch)
tree3aed49446c69d4a0c66e5f2eb6fca7ca181ef80e /client.rb
parentfbd4fccc70622e664e2f795315c848d68aed365e (diff)
note parsing, tag links
Diffstat (limited to 'client.rb')
-rw-r--r--client.rb6
1 files changed, 0 insertions, 6 deletions
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']