From ffa2f57c36af7f8a2f5a09fef219376eb18888ef Mon Sep 17 00:00:00 2001 From: lain Date: Mon, 19 Feb 2018 11:14:46 +0100 Subject: [PATCH] Salmons can't carry private information. --- lib/pleroma/web/federator/federator.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pleroma/web/federator/federator.ex b/lib/pleroma/web/federator/federator.ex index e65916c47..a13126048 100644 --- a/lib/pleroma/web/federator/federator.ex +++ b/lib/pleroma/web/federator/federator.ex @@ -46,10 +46,10 @@ def handle(:publish, activity) do if ActivityPub.is_public?(activity) do Logger.info(fn -> "Sending #{activity.data["id"]} out via websub" end) Websub.publish(Pleroma.Web.OStatus.feed_path(actor), actor, activity) - end - Logger.info(fn -> "Sending #{activity.data["id"]} out via salmon" end) - Pleroma.Web.Salmon.publish(actor, activity) + Logger.info(fn -> "Sending #{activity.data["id"]} out via salmon" end) + Pleroma.Web.Salmon.publish(actor, activity) + end Logger.info(fn -> "Sending #{activity.data["id"]} out via AP" end) Pleroma.Web.ActivityPub.ActivityPub.publish(actor, activity)