mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-11 23:52:53 +02:00
Merge pull request #417 from aviraldg/fix-574-again
strip (IRC) suffix from tabcomplete entries
This commit is contained in:
commit
bdfc7d069d
@ -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…
x
Reference in New Issue
Block a user