% @idx +=1 mention = mention @object['attributedTo'] JSON.parse(File.read(FOLLOWING))['orderedItems'].include?(@object['attributedTo']) ? follow='unfollow' : follow='follow' @indent = 0 unless @object['inReplyTo'] %>
/) %>
<% end %>
<%= @object['content'] %>
<% if @object['attachment']
@object['attachment'].each do |att|
case att['mediaType']
when /audio/ %>
<% when /image/ %>
'>'>
<% when /video/ %>
<% else %>
<%= att %>
'><%= att['url'] %>
<% end %>
<% end %>
<% end %>
<% unless @box == 'shared' %>
<% end %>