mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
Update to support the whole typing name
This commit is contained in:
parent
3a6259fd29
commit
a2c790b4a1
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue