From: Roger Braun Date: Tue, 2 May 2017 14:45:54 +0000 (+0200) Subject: Federate likes. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=945b4b55e651341ae9452c9799f432ec2de11787;p=akkoma Federate likes. --- diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index e9de3573e..12d6912df 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -72,6 +72,10 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do update_object_in_activities(object) + if user.local do + Pleroma.Web.Federator.enqueue(:publish, activity) + end + {:ok, activity, object} end end