mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-27 17:31:50 +02:00
The comment can go
This commit is contained in:
parent
17915b5082
commit
1e5101aa0c
@ -105,7 +105,7 @@ export default class UserProvider extends AutocompleteProvider {
|
|||||||
// Don't search if the query is a single "@"
|
// Don't search if the query is a single "@"
|
||||||
if (fullMatch && fullMatch !== '@') {
|
if (fullMatch && fullMatch !== '@') {
|
||||||
completions = this.matcher.match(fullMatch).map((user) => {
|
completions = this.matcher.match(fullMatch).map((user) => {
|
||||||
const displayName = (user.name || user.userId || ''); // FIXME when groups are done
|
const displayName = (user.name || user.userId || '');
|
||||||
return {
|
return {
|
||||||
// Length of completion should equal length of text in decorator. draft-js
|
// Length of completion should equal length of text in decorator. draft-js
|
||||||
// relies on the length of the entity === length of the text in the decoration.
|
// relies on the length of the entity === length of the text in the decoration.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user