Fix a comparison bug in ordering the MemberList

pull/21833/head
Travis Ralston 2019-01-03 21:56:10 -07:00
parent 77dfba8a22
commit 5a2113e1a9
1 changed files with 1 additions and 1 deletions

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