fix copy-paste bug caught by PR review
This commit is contained in:
parent
11a146ed42
commit
84278a4ed4
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@ module.exports = React.createClass({
|
||||||
var active = -1;
|
var active = -1;
|
||||||
|
|
||||||
// FIXME: make presence data update whenever User.presence changes...
|
// FIXME: make presence data update whenever User.presence changes...
|
||||||
active = member.user.lastActiveAgo ?
|
active = user.lastActiveAgo ?
|
||||||
(Date.now() - (member.user.lastPresenceTs - member.user.lastActiveAgo)) : -1;
|
(Date.now() - (user.lastPresenceTs - user.lastActiveAgo)) : -1;
|
||||||
|
|
||||||
var BaseAvatar = sdk.getComponent('avatars.BaseAvatar');
|
var BaseAvatar = sdk.getComponent('avatars.BaseAvatar');
|
||||||
var avatarJsx = (
|
var avatarJsx = (
|
||||||
|
|
Loading…
Reference in a new issue