Fix a comparison bug in ordering the MemberList
This commit is contained in:
parent
77dfba8a22
commit
5a2113e1a9
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue