Fix ordering of recent rooms in the new room list

Fixes https://github.com/vector-im/riot-web/issues/14009
This commit is contained in:
Travis Ralston 2020-06-15 20:04:32 -06:00
parent 94f52c4ee2
commit e9afb4b86e

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);
});
}
}