Add ap_id to List
This commit is contained in:
parent
fc7246d715
commit
f2936e0a07
5 changed files with 43 additions and 43 deletions
|
|
@ -105,7 +105,8 @@ defmodule Pleroma.Web.CommonAPI.Utils do
|
|||
def to_for_user_and_mentions(_user, _mentions, _inReplyTo, _), do: {[], []}
|
||||
|
||||
def bcc_for_list(user, {:list, list_id}) do
|
||||
[Pleroma.List.ap_id(user, list_id)]
|
||||
list = Pleroma.List.get(list_id, user)
|
||||
[list.ap_id]
|
||||
end
|
||||
|
||||
def bcc_for_list(_, _), do: []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue