mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 11:48:06 +01:00
Fix admin-set follow recommandations being case-sensitive (#23500)
Fixes #23472
This commit is contained in:
parent
67de888bad
commit
a9c220242b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue