diff options
author | lain <lain@soykaf.club> | 2018-02-23 15:00:41 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-02-23 15:00:41 +0100 |
commit | aa79d64e0d278e30cb05cc3145a9539ea684bc6f (patch) | |
tree | 2297611c109b01905f0182a37710698b693fe290 /test/web/activity_pub/activity_pub_test.exs | |
parent | 2583a9f6e85dcc83940c763f83bea6a48c6d3528 (diff) | |
download | pleroma-aa79d64e0d278e30cb05cc3145a9539ea684bc6f.tar.gz pleroma-aa79d64e0d278e30cb05cc3145a9539ea684bc6f.zip |
Correctly stitch mastodon -> ostatus replies.
Diffstat (limited to 'test/web/activity_pub/activity_pub_test.exs')
-rw-r--r-- | test/web/activity_pub/activity_pub_test.exs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 4aeabc596..8a7f328c3 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -288,6 +288,14 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do assert object == object_again end + + test "it correctly stitches up conversations between ostatus and ap" do + last = "https://mstdn.io/users/mayuutann/statuses/99568293732299394" + {:ok, object} = ActivityPub.fetch_object_from_id(last) + + object = Object.get_by_ap_id(object.data["inReplyTo"]) + assert object + end end describe "following / unfollowing" do |