rename to mostRecentActivityFirst to disambiguate from sorting by when you joined a room, which this is not.
This commit is contained in:
parent
d58fdef362
commit
c14886a1ee
3 changed files with 4 additions and 4 deletions
|
@ -107,7 +107,7 @@ module.exports = {
|
|||
cli.on('syncComplete', function() {
|
||||
var firstRoom = null;
|
||||
if (cli.getRooms() && cli.getRooms().length) {
|
||||
firstRoom = RoomListSorter.mostRecentFirst(
|
||||
firstRoom = RoomListSorter.mostRecentActivityFirst(
|
||||
cli.getRooms()
|
||||
)[0].roomId;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue