formatting
This commit is contained in:
parent
8903f1ad4d
commit
4f9ecfc77a
3 changed files with 4 additions and 4 deletions
|
|
@ -245,9 +245,9 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
@outgoing_blocks Keyword.get(@ap_config, :outgoing_blocks)
|
||||
|
||||
def block(blocker, blocked, activity_id \\ nil, local \\ true) do
|
||||
|
||||
with true <- @unfollow_blocked do
|
||||
follow_activity = fetch_latest_follow(blocker, blocked)
|
||||
|
||||
if follow_activity do
|
||||
unfollow(blocker, blocked, nil, local)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue