Handle sensitive property.

This commit is contained in:
lain 2018-02-18 14:14:16 +01:00
commit 539340d914
4 changed files with 6 additions and 3 deletions

View file

@ -36,7 +36,7 @@
"inReplyTo": null,
"inReplyToAtomUri": null,
"published": "2018-02-12T14:08:20Z",
"sensitive": false,
"sensitive": true,
"summary": "cw",
"tag": [
{

View file

@ -33,6 +33,7 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
]
assert object["actor"] == "http://mastodon.example.org/users/admin"
assert object["attributedTo"] == "http://mastodon.example.org/users/admin"
assert object["sensitive"] == true
end
test "it works for incoming follow requests" do