Skip to content
Snippets Groups Projects
Unverified Commit a9c22024 authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix admin-set follow recommandations being case-sensitive (#23500)

Fixes #23472
parent 67de888b
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ class AccountSuggestions::SettingSource < AccountSuggestions::Source
next if username.blank?
[username, domain]
[username.downcase, domain&.downcase]
end.compact
end
......@@ -63,6 +63,6 @@ class AccountSuggestions::SettingSource < AccountSuggestions::Source
end
def to_ordered_list_key(account)
[account.username, account.domain]
[account.username.downcase, account.domain&.downcase]
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment