Remove reply-to for shares, mastodon gets confused.
authorRoger Braun <roger@rogerbraun.net>
Wed, 3 May 2017 18:06:00 +0000 (20:06 +0200)
committerRoger Braun <roger@rogerbraun.net>
Wed, 3 May 2017 18:06:00 +0000 (20:06 +0200)
lib/pleroma/web/ostatus/activity_representer.ex
test/web/ostatus/activity_representer_test.exs

index dc7526598ce8e581f64eb84d96acde45b80ca867..41a42b7cbb92c2d5d2cb2f55ab3ed813dcce50ca 100644 (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
index 03b3e248f802250e241083166c0114ac4304fc5a..12c9bbaa25d3b40718fe599968c464d8bdb7a174 100644 (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>