Use case-insensitive checks when comparing account URLs in search (#3931)
Fixes #3929
This commit is contained in:
parent
a84d7f56a0
commit
6766509977
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ abstract class BottomSheetActivity : BaseActivity() {
|
||||||
viewThread(statuses[0].id, statuses[0].url)
|
viewThread(statuses[0].id, statuses[0].url)
|
||||||
return@subscribe
|
return@subscribe
|
||||||
}
|
}
|
||||||
accounts.firstOrNull { it.url == url }?.let { account ->
|
accounts.firstOrNull { it.url.equals(url, ignoreCase = true) }?.let { account ->
|
||||||
// Some servers return (unrelated) accounts for url searches (#2804)
|
// Some servers return (unrelated) accounts for url searches (#2804)
|
||||||
// Verify that the account's url matches the query
|
// Verify that the account's url matches the query
|
||||||
viewAccount(account.id)
|
viewAccount(account.id)
|
||||||
|
|
Loading…
Reference in a new issue