projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2e03d4
)
Fix missing end brace
author
Zachary Dunn
<zdunn76@gmail.com>
Mon, 18 Mar 2019 14:05:10 +0000
(14:05 +0000)
committer
Zachary Dunn
<zdunn76@gmail.com>
Mon, 18 Mar 2019 14:05:10 +0000
(14:05 +0000)
lib/pleroma/web/activity_pub/transmogrifier.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/transmogrifier.ex
b/lib/pleroma/web/activity_pub/transmogrifier.ex
index a90b934e5a8f4cd4c0b6079fa1f1a6556280d81f..546134f4656031c47bce6e64564368be571885b7 100644
(file)
--- a/
lib/pleroma/web/activity_pub/transmogrifier.ex
+++ b/
lib/pleroma/web/activity_pub/transmogrifier.ex
@@
-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)