Lint
This commit is contained in:
parent
a176914c73
commit
f0dcc1ca69
1 changed files with 4 additions and 1 deletions
|
@ -47,7 +47,10 @@ defp try_follow(follower, message) do
|
|||
false <- User.locked?(user),
|
||||
false <- (user.bio || "") |> String.downcase() |> String.contains?("nobot"),
|
||||
false <- outstanding_follow_request_since?(follower, user, since_thirty_days_ago) do
|
||||
Logger.info("#{__MODULE__}: Follow request from #{follower.nickname} to #{user.nickname}")
|
||||
Logger.info(
|
||||
"#{__MODULE__}: Follow request from #{follower.nickname} to #{user.nickname}"
|
||||
)
|
||||
|
||||
CommonAPI.follow(follower, user)
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue