fix typo.
authorlain <lain@soykaf.club>
Sun, 18 Feb 2018 22:02:44 +0000 (23:02 +0100)
committerlain <lain@soykaf.club>
Sun, 18 Feb 2018 22:02:44 +0000 (23:02 +0100)
lib/pleroma/web/activity_pub/activity_pub.ex

index 168653035a3d056beb1aca744c904ba62b2b2ded..a0d36d03ad07ebb0bc36bc0117492279c0d9fd7c 100644 (file)
@@ -283,7 +283,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
   end
 
   def publish(actor, activity) do
-    followers = if user.follower_address in activity.recipients do
+    followers = if actor.follower_address in activity.recipients do
       {:ok, followers} = User.get_followers(actor)
       followers
     else