diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index 676e0e6976..04d1fb4e39 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -254,9 +254,9 @@ const RoomSubList = React.createClass({ badge =
{ FormattingUtils.formatCount(subListNotifCount) }
; - } else if (this.props.isInvite) { + } else if (this.props.isInvite && this.props.list.length) { // no notifications but highlight anyway because this is an invite badge - badge =
!
; + badge =
{this.props.list.length}
; } }