mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 14:38:21 +00:00
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:
@@ -75,7 +75,7 @@ export class RecentAlgorithm implements IAlgorithm {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return rooms.sort((a, b) => {
|
return rooms.sort((a, b) => {
|
||||||
return getLastTs(a) - getLastTs(b);
|
return getLastTs(b) - getLastTs(a);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user