Merge branch 'feature/dm-sanity' into 'develop'
DM sanitization See merge request pleroma/pleroma!458
This commit is contained in:
commit
69454c8345
8 changed files with 186 additions and 4 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…
Add table
Add a link
Reference in a new issue