forked from AkkomaGang/akkoma
Remove reply-to for shares, mastodon gets confused.
This commit is contained in:
parent
53d05af5b6
commit
1077c5c58d
2 changed files with 0 additions and 2 deletions
|
@ -114,7 +114,6 @@ def to_simple_form(%{data: %{"type" => "Announce"}} = activity, user, with_autho
|
|||
{:"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
|
||||
|
|
|
@ -106,7 +106,6 @@ test "an announce activity" 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>
|
||||
|
|
Loading…
Reference in a new issue