Add user to announced status.

This commit is contained in:
Roger Braun 2017-05-03 17:51:36 +02:00
commit b34b046f16
2 changed files with 4 additions and 4 deletions

View file

@ -98,7 +98,7 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenter do
retweeted_activity = Activity.get_create_activity_by_object_ap_id(activity.data["object"])
retweeted_user = User.get_cached_by_ap_id(retweeted_activity.data["actor"])
retweeted_xml = to_simple_form(retweeted_activity, retweeted_user)
retweeted_xml = to_simple_form(retweeted_activity, retweeted_user, true)
mentions = activity.data["to"] |> get_mentions
[