Merge pull request #4766 from matrix-org/travis/room-list/fix-recents

Fix ordering of recent rooms in the new room list
pull/21833/head
Travis Ralston 2020-06-15 20:28:17 -06:00 committed by GitHub
commit b499bd021a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
});
}
}