Update to support the whole typing name
This commit is contained in:
parent
3a6259fd29
commit
a2c790b4a1
|
@ -220,10 +220,9 @@ class AutoCompleter @AssistedInject constructor(
|
|||
// Replace the word by its completion
|
||||
val displayName = matrixItem.getBestName()
|
||||
|
||||
|
||||
// Adding trailing space " " or ": " if the user started mention someone
|
||||
val displayNameSuffix =
|
||||
if (firstChar == "@" && editText.length() == 1) {
|
||||
if (firstChar == "@" && startIndex == 0) {
|
||||
": "
|
||||
} else {
|
||||
" "
|
||||
|
|
Loading…
Reference in New Issue