mastodon api: get_visibility(): DMs never have a cc list.
This commit is contained in:
parent
21ac35fcc0
commit
75dfa1f0b0
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue