From 8537c1d6250714be69a33c027a5146ccc6a492fa Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 9 Apr 2018 22:59:46 +0100 Subject: [PATCH] rename createGroupButton to not be a total misnomer... --- src/components/views/elements/Pill.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/elements/Pill.js b/src/components/views/elements/Pill.js index 067c377eaa..7e5ad379de 100644 --- a/src/components/views/elements/Pill.js +++ b/src/components/views/elements/Pill.js @@ -207,6 +207,7 @@ const Pill = React.createClass({ const member = this.state.member; if (member) { userId = member.userId; + member.rawDisplayName = member.rawDisplayName || ''; linkText = member.rawDisplayName.replace(' (IRC)', ''); // FIXME when groups are done if (this.props.shouldShowPillAvatar) { avatar = ;