mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Merge pull request #417 from aviraldg/fix-574-again
strip (IRC) suffix from tabcomplete entries
This commit is contained in:
commit
bdfc7d069d
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