Pass correct number of arguments to unfollow
This commit is contained in:
parent
d045b96f95
commit
46427cb90f
|
@ -224,7 +224,7 @@ def block(blocker, blocked, activity_id \\ nil, local \\ true) do
|
||||||
follow_activity = fetch_latest_follow(blocker, blocked)
|
follow_activity = fetch_latest_follow(blocker, blocked)
|
||||||
|
|
||||||
if follow_activity do
|
if follow_activity do
|
||||||
unfollow(blocker, blocked, local)
|
unfollow(blocker, blocked, nil, local)
|
||||||
end
|
end
|
||||||
|
|
||||||
with block_data <- make_block_data(blocker, blocked, activity_id),
|
with block_data <- make_block_data(blocker, blocked, activity_id),
|
||||||
|
|
Loading…
Reference in New Issue