From ae50b165cced7fda1e62f677f959c6f202127aa7 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 24 Mar 2017 00:00:06 +0100 Subject: Add inReplyToStatus to TwAPI. --- lib/pleroma/web/twitter_api/representers/activity_representer.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/pleroma/web/twitter_api/representers/activity_representer.ex b/lib/pleroma/web/twitter_api/representers/activity_representer.ex index a0f20c37c..3b0683043 100644 --- a/lib/pleroma/web/twitter_api/representers/activity_representer.ex +++ b/lib/pleroma/web/twitter_api/representers/activity_representer.ex @@ -14,7 +14,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do "text" => content, "is_local" => true, "is_post_verb" => true, - "created_at" => published + "created_at" => published, + "in_reply_to_status_id" => activity.data["object"]["inReplyToStatusId"] } end end -- cgit v1.2.3