From 8d4268754eda6ad774fbedd1e207c907af5257a1 Mon Sep 17 00:00:00 2001 From: wmwragg Date: Sun, 28 Aug 2016 12:03:05 +0100 Subject: [PATCH] Fixed the stickies notification count to limit it to 99+ --- src/components/structures/RoomSubList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index 488b54912d..29d4506430 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -414,7 +414,7 @@ var RoomSubList = React.createClass({ var badge; if (subListNotifCount > 0) { - badge =
{subListNotifCount}
; + badge =
{subListNotifCount > 99 ? "99+" : subListNotifCount}
; } return (