Pass correct number of arguments to unfollow

This commit is contained in:
Francis Dinh 2018-05-21 11:57:15 -04:00
parent d045b96f95
commit 46427cb90f

View file

@ -224,7 +224,7 @@ def block(blocker, blocked, activity_id \\ nil, local \\ true) do
follow_activity = fetch_latest_follow(blocker, blocked)
if follow_activity do
unfollow(blocker, blocked, local)
unfollow(blocker, blocked, nil, local)
end
with block_data <- make_block_data(blocker, blocked, activity_id),