Fix block_from_stranger setting

This commit is contained in:
tusooa 2023-01-18 18:36:52 -05:00
commit 7467b24730
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 27 additions and 1 deletions

View file

@ -679,7 +679,7 @@ defmodule Pleroma.Notification do
cond do
opts[:type] == "poll" -> false
user.ap_id == actor -> false
!User.following?(follower, user) -> true
!User.following?(user, follower) -> true
true -> false
end
end