mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Merge pull request #5050 from matrix-org/t3chguy/fix/14774
Fix Query Matcher regression with certain unhomoglyph'd characters
This commit is contained in:
commit
05332124ee
@ -142,7 +142,8 @@ export default class QueryMatcher<T extends Object> {
|
||||
|
||||
private processQuery(query: string): string {
|
||||
if (this._options.fuzzy !== false) {
|
||||
return removeHiddenChars(query).toLowerCase();
|
||||
// lower case both the input and the output for consistency
|
||||
return removeHiddenChars(query.toLowerCase()).toLowerCase();
|
||||
}
|
||||
return query.toLowerCase();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user