diff options
Diffstat (limited to 'client.rb')
-rw-r--r-- | client.rb | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ # client-server post '/' do protected! - date = Time.now.strftime('%Y-%m-%dT%H:%M:%S.%N') + Time.now.strftime('%Y-%m-%dT%H:%M:%S.%N') recipients = public recipients << params[:to] @@ -70,7 +70,7 @@ end post '/follow' do protected! - actor, mention = parse_follow params['follow'] + actor, = parse_follow params['follow'] outbox 'Follow', actor, [actor] redirect(params['anchor'] || '/inbox') end @@ -109,7 +109,7 @@ end @threads << object else collection.select { |o| o['id'] == object['inReplyTo'] }.each do |o| - object['indent'] = o['indent'] + 4 + object['indent'] = o['indent'] + 2 o['replies'] << object end end |