http://activitystrea.ms/schema/1.0/notehttp://activitystrea.ms/schema/1.0/post<%= @data["id"] %><%= activity_title(@data, Keyword.get(@feed_config, :post_title, %{})) %><%= activity_description(@data) %><%= to_rfc2822(@data["published"]) %>
<%= activity_context(@activity) %>
<%= if @activity.local do %>
<%= @data["id"] %>
<% else %>
<%= @data["external_url"] %>
<% end %>
<%= activity_context(@activity) %>
<%= for tag <- Pleroma.Object.hashtags(@object) do %>
<% end %>
<%= for attachment <- @data["attachment"] || [] do %>
<% end %>
<%= if @data["inReplyTo"] do %>
<% end %>
<%= for id <- @activity.recipients do %>
<%= if id == Pleroma.Constants.as_public() do %>
http://activityschema.org/collection/public
<% else %>
<%= unless Regex.match?(~r/^#{Pleroma.Web.Endpoint.url()}.+followers$/, id) do %>
<%= id %>
<% end %>
<% end %>
<% end %>
<%= for {emoji, file} <- @data["emoji"] || %{} do %>
<%= file %>
<% end %>