Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track the absolute time that presence events are received, so that the relative lastActiveAgo value is meaningful. #128

Merged
merged 3 commits into from Apr 18, 2016

Conversation

ara4n
Copy link
Member

@ara4n ara4n commented Apr 18, 2016

This solves SYJS-28


// var user = this.currentState.getMember(events[i].sender.userId);
// user.lastActiveAgo = 0;
// user.lastPresenceTs = Date.now();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we don't plan to ever reinstate this code, please delete it.

@kegsay
Copy link
Member

kegsay commented Apr 18, 2016

LGTM aside from comments.

@ara4n
Copy link
Member Author

ara4n commented Apr 18, 2016

@kegsay PTAL

@ara4n
Copy link
Member Author

ara4n commented Apr 18, 2016

merging as i want to ship this and believe i addressed K's comments

@ara4n ara4n merged commit 2f7d730 into develop Apr 18, 2016
@t3chguy t3chguy deleted the matthew/syjs-28 branch May 10, 2022 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants