Merge branch 'formatting-fixes' into 'develop'
[akkoma] / lib / pleroma / web / activity_pub / activity_pub.ex
index 9af0f553c47e4d9be266401bde835bff1264fd97..b4e59050b480d1a774906558765cb01a14196051 100644 (file)
@@ -24,6 +24,10 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
          :ok <- maybe_federate(activity) do
       if activity.data["type"] == "Create" and Enum.member?(activity.data["to"], "https://www.w3.org/ns/activitystreams#Public") do
         Pleroma.Web.Streamer.stream("public", activity)
+        Pleroma.Web.Streamer.stream("user", activity)
+        if local do
+          Pleroma.Web.Streamer.stream("public:local", activity)
+        end
       end
       {:ok, activity}
     end