aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/twitter_api/representers/activity_representer.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/web/twitter_api/representers/activity_representer.ex')
-rw-r--r--lib/pleroma/web/twitter_api/representers/activity_representer.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/twitter_api/representers/activity_representer.ex b/lib/pleroma/web/twitter_api/representers/activity_representer.ex
index 6f22e45fa..a36b873e4 100644
--- a/lib/pleroma/web/twitter_api/representers/activity_representer.ex
+++ b/lib/pleroma/web/twitter_api/representers/activity_representer.ex
@@ -118,7 +118,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do
"repeat_num" => announcement_count,
"favorited" => to_boolean(favorited),
"repeated" => to_boolean(repeated),
- "external_url" => activity.data["id"]
+ "external_url" => activity.data["id"],
+ "tags" => activity.data["object"]["tag"] || []
}
end