mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
strip (IRC) suffix from tabcomplete entries
fixes vector-im/vector-web#574
This commit is contained in:
parent
2a3b0e85ea
commit
8777780928
@ -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 New Issue
Block a user