diff --git a/src/components/views/elements/Pill.js b/src/components/views/elements/Pill.js index f1527c48b1..cbbe562754 100644 --- a/src/components/views/elements/Pill.js +++ b/src/components/views/elements/Pill.js @@ -226,7 +226,7 @@ class Pill extends React.Component { case Pill.TYPE_ROOM_MENTION: { const room = this.state.room; if (room) { - linkText = room.name; + linkText = room.name || resource; if (this.props.shouldShowPillAvatar) { avatar =