diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index dff6d5c8..e87f3f8a 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -25,6 +25,7 @@ var dis = require('matrix-react-sdk/lib/dispatcher'); var Unread = require('matrix-react-sdk/lib/Unread'); var MatrixClientPeg = require('matrix-react-sdk/lib/MatrixClientPeg'); var RoomNotifs = require('matrix-react-sdk/lib/RoomNotifs'); +var FormattingUtils = require('matrix-react-sdk/lib/utils/FormattingUtils'); // turn this on for drop & drag console debugging galore var debug = false; @@ -389,7 +390,7 @@ var RoomSubList = React.createClass({ var badge; if (subListNotifCount > 0) { - badge =