Fix tests.
This commit is contained in:
parent
c8d418acdd
commit
9aabff4883
2 changed files with 14 additions and 8 deletions
|
|
@ -195,6 +195,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||
cond do
|
||||
public in to -> "public"
|
||||
public in cc -> "unlisted"
|
||||
# this should use the sql for the object's activity
|
||||
Enum.any?(to, &String.contains?(&1, "/followers")) -> "private"
|
||||
true -> "direct"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue