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