Skip to content

Commit

Permalink
Avoided users are no longer considered ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
L-e-x-o-n committed Oct 16, 2024
1 parent 6638535 commit ab76496
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/teiserver/account/libs/relationship_lib.ex
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,7 @@ defmodule Teiserver.Account.RelationshipLib do

@spec does_a_ignore_b?(T.userid(), T.userid()) :: boolean
def does_a_ignore_b?(u1, u2) do
Enum.member?(list_userids_ignored_by_userid(u1), u2) or
does_a_avoid_b?(u1, u2)
Enum.member?(list_userids_ignored_by_userid(u1), u2)
end

@spec does_a_avoid_b?(T.userid(), T.userid()) :: boolean
Expand Down

0 comments on commit ab76496

Please sign in to comment.