Remove reply-to for shares, mastodon gets confused.

This commit is contained in:
Roger Braun 2017-05-03 20:06:00 +02:00
parent 53d05af5b6
commit 1077c5c58d
2 changed files with 0 additions and 2 deletions

View file

@ -114,7 +114,6 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenter do
{:"ostatus:conversation", [], h.(activity.data["context"])},
{:link, [href: h.(activity.data["context"]), rel: 'ostatus:conversation'], []},
{:link, [rel: 'self', type: ['application/atom+xml'], href: h.(activity.data["id"])], []},
{:"thr:in-reply-to", [ref: to_charlist(activity.data["object"])], []},
{:"activity:object", retweeted_xml}
] ++ mentions ++ author
end

View file

@ -106,7 +106,6 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenterTest do
<ostatus:conversation>#{announce.data["context"]}</ostatus:conversation>
<link href="#{announce.data["context"]}" rel="ostatus:conversation" />
<link rel="self" type="application/atom+xml" href="#{announce.data["id"]}"/>
<thr:in-reply-to ref="#{note.data["object"]["id"]}" />
<activity:object>
#{note_xml}
</activity:object>