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:
parent
94f52c4ee2
commit
e9afb4b86e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue