diff --git a/src/controllers/organisms/RoomList.js b/src/controllers/organisms/RoomList.js index 224c2e12bd..03e18547b6 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()); },