Verified Commit a8eaecad authored by Haelwenn's avatar Haelwenn
Browse files

[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed value (false)

parent 43d0b7bf
......@@ -79,7 +79,8 @@ def render("relationship.json", %{user: user, target: target}) do
muting_notifications: false,
requested: false,
domain_blocking: false,
showing_reblogs: false
showing_reblogs: false,
endorsed: false
}
end
......
......@@ -126,7 +126,8 @@ test "represent a relationship" do
muting_notifications: false,
requested: false,
domain_blocking: false,
showing_reblogs: false
showing_reblogs: false,
endorsed: false
}
assert expected == AccountView.render("relationship.json", %{user: user, target: other_user})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment