Fix missing end brace
authorZachary Dunn <zdunn76@gmail.com>
Mon, 18 Mar 2019 14:05:10 +0000 (14:05 +0000)
committerZachary Dunn <zdunn76@gmail.com>
Mon, 18 Mar 2019 14:05:10 +0000 (14:05 +0000)
lib/pleroma/web/activity_pub/transmogrifier.ex

index a90b934e5a8f4cd4c0b6079fa1f1a6556280d81f..546134f4656031c47bce6e64564368be571885b7 100644 (file)
@@ -613,7 +613,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
       ) do
     with true <- Pleroma.Config.get([:activitypub, :accept_blocks]),
          %User{local: true} = blocked = User.get_cached_by_ap_id(blocked),
-         {:ok, %User{} = blocker = User.get_or_fetch_by_ap_id(blocker),
+         {:ok, %User{} = blocker} = User.get_or_fetch_by_ap_id(blocker),
          {:ok, activity} <- ActivityPub.block(blocker, blocked, id, false) do
       User.unfollow(blocker, blocked)
       User.block(blocker, blocked)