mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-17 18:32:20 +02:00
fix user autocomplete not adding :
if at the start
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
23b6abf8b7
commit
5b79e3bcd5
@ -111,7 +111,7 @@ export default class UserProvider extends AutocompleteProvider {
|
||||
// relies on the length of the entity === length of the text in the decoration.
|
||||
completion: user.rawDisplayName.replace(' (IRC)', ''),
|
||||
completionId: user.userId,
|
||||
suffix: (selection.beginning && selection.start === 0) ? ': ' : ' ',
|
||||
suffix: (selection.beginning && range.start === 0) ? ': ' : ' ',
|
||||
href: makeUserPermalink(user.userId),
|
||||
component: (
|
||||
<PillCompletion
|
||||
|
Loading…
x
Reference in New Issue
Block a user