strip (IRC) suffix from tabcomplete entries
fixes vector-im/vector-web#574
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user