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:
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

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