Fix follower count test.

This commit is contained in:
lain 2018-11-18 18:46:04 +01:00
commit 6f90ceb2ed
2 changed files with 5 additions and 5 deletions

View file

@ -222,7 +222,7 @@ defmodule Pleroma.User do
ap_followers = followed.follower_address
cond do
following?(follower, followed) or info["deactivated"] ->
following?(follower, followed) or info.deactivated ->
{:error, "Could not follow user: #{followed.nickname} is already on your list."}
deny_follow_blocked and blocks?(followed, follower) ->