diff --git a/web/src/ui/roomlist/UnreadCount.tsx b/web/src/ui/roomlist/UnreadCount.tsx index b1fb141..4ad48f5 100644 --- a/web/src/ui/roomlist/UnreadCount.tsx +++ b/web/src/ui/roomlist/UnreadCount.tsx @@ -38,9 +38,9 @@ const UnreadCount = ({ counts, space, onClick }: UnreadCountProps) => { const countIsBig = !space && Boolean(counts.unread_notifications || counts.unread_highlights || counts.marked_unread) let unreadCountDisplay = unreadCount.toString() - if (unreadCount > 999 && countIsBig) { + if (unreadCount > 999 && (countIsBig || space)) { unreadCountDisplay = "99+" - } else if (unreadCount > 9999 && countIsBig) { + } else if (unreadCount > 9999) { unreadCountDisplay = "999+" } const classNames = ["unread-count"]