projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
relay: set invisible to true
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
publisher.ex
diff --git
a/lib/pleroma/web/activity_pub/publisher.ex
b/lib/pleroma/web/activity_pub/publisher.ex
index 114251b248626a4fb2ef172ebb06b0ebcbdca65d..2aac4e8b92ad90291d5682df73ed4e5642dd7415 100644
(file)
--- a/
lib/pleroma/web/activity_pub/publisher.ex
+++ b/
lib/pleroma/web/activity_pub/publisher.ex
@@
-111,11
+111,11
@@
defmodule Pleroma.Web.ActivityPub.Publisher do
@spec recipients(User.t(), Activity.t()) :: list(User.t()) | []
defp recipients(actor, activity) do
@spec recipients(User.t(), Activity.t()) :: list(User.t()) | []
defp recipients(actor, activity) do
-
{:ok, followers}
=
+
followers
=
if actor.follower_address in activity.recipients do
User.get_external_followers(actor)
else
if actor.follower_address in activity.recipients do
User.get_external_followers(actor)
else
- {:ok, []}
+ []
end
fetchers =
end
fetchers =
@@
-129,7
+129,7
@@
defmodule Pleroma.Web.ActivityPub.Publisher do
[]
end
[]
end
- Pleroma.Web.
Salmon
.remote_users(actor, activity) ++ followers ++ fetchers
+ Pleroma.Web.
Federator.Publisher
.remote_users(actor, activity) ++ followers ++ fetchers
end
defp get_cc_ap_ids(ap_id, recipients) do
end
defp get_cc_ap_ids(ap_id, recipients) do