mirror of https://github.com/vector-im/riot-web
Merge pull request #4766 from matrix-org/travis/room-list/fix-recents
Fix ordering of recent rooms in the new room listpull/21833/head
commit
b499bd021a
|
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue