Don't auto-insert ':' after mentions
Change-Id: I348a79b985e92c32475738c1c7e0a651b475f3f9
This commit is contained in:
parent
e3b421c74b
commit
0cff637113
|
@ -319,7 +319,7 @@ class AutoCompleter @AssistedInject constructor(
|
|||
|
||||
// Adding trailing space " " or ": " if the user started mention someone
|
||||
val displayNameSuffix =
|
||||
if (matrixItem is MatrixItem.UserItem) {
|
||||
if (false && matrixItem is MatrixItem.UserItem) {
|
||||
": "
|
||||
} else {
|
||||
" "
|
||||
|
|
|
@ -886,7 +886,7 @@ class MessageComposerFragment : VectorBaseFragment<FragmentComposerBinding>(), A
|
|||
displayName.length,
|
||||
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE
|
||||
)
|
||||
append(if (startToCompose) ": " else " ")
|
||||
append(if (false && startToCompose) ": " else " ")
|
||||
}
|
||||
if (startToCompose && displayName.startsWith("/")) {
|
||||
// Ensure displayName will not be interpreted as a Slash command
|
||||
|
|
Loading…
Reference in New Issue