diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-05-03 20:06:00 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-05-03 20:06:00 +0200 |
commit | 1077c5c58d13325cd61893c609cad6505ad1d32e (patch) | |
tree | 50d0cf277bd1e270dd24fe01af517f6864d05e93 | |
parent | 53d05af5b61771782af3946181cc3139f3897cca (diff) | |
download | pleroma-1077c5c58d13325cd61893c609cad6505ad1d32e.tar.gz |
Remove reply-to for shares, mastodon gets confused.
-rw-r--r-- | lib/pleroma/web/ostatus/activity_representer.ex | 1 | ||||
-rw-r--r-- | test/web/ostatus/activity_representer_test.exs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/pleroma/web/ostatus/activity_representer.ex b/lib/pleroma/web/ostatus/activity_representer.ex index dc7526598..41a42b7cb 100644 --- a/lib/pleroma/web/ostatus/activity_representer.ex +++ b/lib/pleroma/web/ostatus/activity_representer.ex @@ -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 diff --git a/test/web/ostatus/activity_representer_test.exs b/test/web/ostatus/activity_representer_test.exs index 03b3e248f..12c9bbaa2 100644 --- a/test/web/ostatus/activity_representer_test.exs +++ b/test/web/ostatus/activity_representer_test.exs @@ -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> |