mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-20 08:30:59 +00:00
Add an explanation comment to Publisher.publish/2
This commit is contained in:
parent
64a946643e
commit
d86a97abfb
1 changed files with 2 additions and 0 deletions
|
@ -131,6 +131,8 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
|
|||
%User{ap_id: ap_id} =
|
||||
Enum.find(recipients, fn %{info: %{source_data: data}} -> data["inbox"] == inbox end)
|
||||
|
||||
# Get all the recipients on the same host and add them to cc. Otherwise it a remote
|
||||
# instance would only accept a first message for the first recipient and ignore the rest.
|
||||
cc = get_cc_ap_ids(ap_id, recipients)
|
||||
|
||||
json =
|
||||
|
|
Loading…
Reference in a new issue