Merge pull request #4766 from matrix-org/travis/room-list/fix-recents
Fix ordering of recent rooms in the new room list
This commit is contained in:
commit
b499bd021a
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…
Reference in a new issue