mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-24 10:07:24 +00:00
Salmons can't carry private information.
This commit is contained in:
parent
6b6ab592ab
commit
ffa2f57c36
|
@ -46,10 +46,10 @@ defmodule Pleroma.Web.Federator do
|
||||||
if ActivityPub.is_public?(activity) do
|
if ActivityPub.is_public?(activity) do
|
||||||
Logger.info(fn -> "Sending #{activity.data["id"]} out via websub" end)
|
Logger.info(fn -> "Sending #{activity.data["id"]} out via websub" end)
|
||||||
Websub.publish(Pleroma.Web.OStatus.feed_path(actor), actor, activity)
|
Websub.publish(Pleroma.Web.OStatus.feed_path(actor), actor, activity)
|
||||||
end
|
|
||||||
|
|
||||||
Logger.info(fn -> "Sending #{activity.data["id"]} out via salmon" end)
|
Logger.info(fn -> "Sending #{activity.data["id"]} out via salmon" end)
|
||||||
Pleroma.Web.Salmon.publish(actor, activity)
|
Pleroma.Web.Salmon.publish(actor, activity)
|
||||||
|
end
|
||||||
|
|
||||||
Logger.info(fn -> "Sending #{activity.data["id"]} out via AP" end)
|
Logger.info(fn -> "Sending #{activity.data["id"]} out via AP" end)
|
||||||
Pleroma.Web.ActivityPub.ActivityPub.publish(actor, activity)
|
Pleroma.Web.ActivityPub.ActivityPub.publish(actor, activity)
|
||||||
|
|
Loading…
Reference in a new issue