mastodon api: get_visibility(): DMs never have a cc list.
This commit is contained in:
parent
21ac35fcc0
commit
75dfa1f0b0
@ -231,6 +231,9 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
||||
Enum.any?(to, &String.contains?(&1, "/followers")) ->
|
||||
"private"
|
||||
|
||||
length(cc) > 0 ->
|
||||
"private"
|
||||
|
||||
true ->
|
||||
"direct"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user