-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.common.feature.messages.composer.query.filter.QueryFilter
public final class DefaultUserQueryFilter implements QueryFilter<User>
Default QueryFilter for User objects used in mention suggestions.
Matches by whitespace-tokenizing the query and the user's name (or id when blank): every word except the last must equal at least one name word, and the last word must be a prefix of at least one name word. The same name word may satisfy multiple query words. Results are sorted alphabetically by normalized name. Normalization applies lowercasing, diacritics removal, and optional transliteration.
-
-
Constructor Summary
Constructors Constructor Description DefaultUserQueryFilter(StreamTransliterator transliterator)
-