diff --git a/src/controllers/organisms/RoomList.js b/src/controllers/organisms/RoomList.js index 224c2e12..03e18547 100644 --- a/src/controllers/organisms/RoomList.js +++ b/src/controllers/organisms/RoomList.js @@ -95,7 +95,7 @@ module.exports = { }); }, - getRoomList() { + getRoomList: function() { return RoomListSorter.mostRecentActivityFirst(MatrixClientPeg.get().getRooms()); },