Fix ordering of recent rooms in the new room list

Fixes https://github.com/vector-im/riot-web/issues/14009
pull/21833/head
Travis Ralston 2020-06-15 20:04:32 -06:00
parent 94f52c4ee2
commit e9afb4b86e
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export class RecentAlgorithm implements IAlgorithm {
};
return rooms.sort((a, b) => {
return getLastTs(a) - getLastTs(b);
return getLastTs(b) - getLastTs(a);
});
}
}