mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 10:09:02 +00:00
Remove reply-to for shares, mastodon gets confused.
This commit is contained in:
parent
53d05af5b6
commit
1077c5c58d
|
@ -114,7 +114,6 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenter do
|
||||||
{:"ostatus:conversation", [], h.(activity.data["context"])},
|
{:"ostatus:conversation", [], h.(activity.data["context"])},
|
||||||
{:link, [href: h.(activity.data["context"]), rel: 'ostatus:conversation'], []},
|
{:link, [href: h.(activity.data["context"]), rel: 'ostatus:conversation'], []},
|
||||||
{:link, [rel: 'self', type: ['application/atom+xml'], href: h.(activity.data["id"])], []},
|
{: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}
|
{:"activity:object", retweeted_xml}
|
||||||
] ++ mentions ++ author
|
] ++ mentions ++ author
|
||||||
end
|
end
|
||||||
|
|
|
@ -106,7 +106,6 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenterTest do
|
||||||
<ostatus:conversation>#{announce.data["context"]}</ostatus:conversation>
|
<ostatus:conversation>#{announce.data["context"]}</ostatus:conversation>
|
||||||
<link href="#{announce.data["context"]}" rel="ostatus:conversation" />
|
<link href="#{announce.data["context"]}" rel="ostatus:conversation" />
|
||||||
<link rel="self" type="application/atom+xml" href="#{announce.data["id"]}"/>
|
<link rel="self" type="application/atom+xml" href="#{announce.data["id"]}"/>
|
||||||
<thr:in-reply-to ref="#{note.data["object"]["id"]}" />
|
|
||||||
<activity:object>
|
<activity:object>
|
||||||
#{note_xml}
|
#{note_xml}
|
||||||
</activity:object>
|
</activity:object>
|
||||||
|
|
Loading…
Reference in a new issue