List messages must be visible for mentioned users
This commit is contained in:
parent
04f18a144b
commit
de13c9bb8f
3 changed files with 8 additions and 7 deletions
|
|
@ -100,7 +100,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do
|
|||
end
|
||||
end
|
||||
|
||||
def get_to_and_cc(_user, _mentions, _inReplyTo, _), do: {[], []}
|
||||
def get_to_and_cc(_user, mentions, _inReplyTo, {:list, _}), do: {mentions, []}
|
||||
|
||||
def get_addressed_users(_, to) when is_list(to) do
|
||||
User.get_ap_ids_by_nicknames(to)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue