strip (IRC) suffix from tabcomplete entries
fixes vector-im/vector-web#574
This commit is contained in:
parent
2a3b0e85ea
commit
8777780928
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ CommandEntry.fromCommands = function(commandArray) {
|
|||
|
||||
class MemberEntry extends Entry {
|
||||
constructor(member) {
|
||||
super(member.name || member.userId);
|
||||
super((member.name || member.userId).replace(' (IRC)', ''));
|
||||
this.member = member;
|
||||
this.kind = 'member';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue