mirror of https://github.com/vector-im/riot-web
Fix ordering of recent rooms in the new room list
Fixes https://github.com/vector-im/riot-web/issues/14009pull/21833/head
parent
94f52c4ee2
commit
e9afb4b86e
|
@ -75,7 +75,7 @@ export class RecentAlgorithm implements IAlgorithm {
|
|||
};
|
||||
|
||||
return rooms.sort((a, b) => {
|
||||
return getLastTs(a) - getLastTs(b);
|
||||
return getLastTs(b) - getLastTs(a);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue