1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-22 04:02:40 +03:00

Fix a comparison bug in ordering the MemberList

This commit is contained in:
Travis Ralston
2019-01-03 21:56:10 -07:00
parent 77dfba8a22
commit 5a2113e1a9

View File

@@ -327,7 +327,7 @@ module.exports = React.createClass({
}
// Third by last active
if (this._showPresence && userA.getLastActiveTs() !== userB.getLastActiveTs) {
if (this._showPresence && userA.getLastActiveTs() !== userB.getLastActiveTs()) {
// console.log("Comparing on last active timestamp - returning");
return userB.getLastActiveTs() - userA.getLastActiveTs();
}