diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-04-26 08:47:22 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-04-26 08:47:22 +0200 |
commit | b91ccef2371fb0bbc23638b174e815dd7189482e (patch) | |
tree | 65b65b97c5dbbf927dbb33f5adbf22d9f479f026 /test/web/ostatus/activity_representer_test.exs | |
parent | f980f6778b1447b808299fa9274854bb25f9823b (diff) | |
download | pleroma-b91ccef2371fb0bbc23638b174e815dd7189482e.tar.gz pleroma-b91ccef2371fb0bbc23638b174e815dd7189482e.zip |
Output conversation id.
Diffstat (limited to 'test/web/ostatus/activity_representer_test.exs')
-rw-r--r-- | test/web/ostatus/activity_representer_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/web/ostatus/activity_representer_test.exs b/test/web/ostatus/activity_representer_test.exs index 61df41a1d..10f9a9d0b 100644 --- a/test/web/ostatus/activity_representer_test.exs +++ b/test/web/ostatus/activity_representer_test.exs @@ -23,6 +23,8 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenterTest do <content type="html">#{note_activity.data["object"]["content"]}</content> <published>#{inserted_at}</published> <updated>#{updated_at}</updated> + <ostatus:conversation>#{note_activity.data["context"]}</ostatus:conversation> + <link href="#{note_activity.data["context"]}" rel="ostatus:conversation" /> """ tuple = ActivityRepresenter.to_simple_form(note_activity, user) |