Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Make the read-marker less annoying #242

Merged
merged 1 commit into from
Mar 22, 2016
Merged

Make the read-marker less annoying #242

merged 1 commit into from
Mar 22, 2016

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Mar 22, 2016

We considered the user active if there had been a user_activity event within
the last 500ms, but those events were only raised every 500ms, so it was
possible that we would be considered inactive immediately. Use
UserActivity.userCurrentlyActive() instead, which fixes this.

Also increase CURRENTLY_ACTIVE_THRESHOLD_MS to 2 seconds.

We considered the user active if there had been a user_activity event within
the last 500ms, but those events were only raised every 500ms, so it was
possible that we would be considered inactive immediately. Use
UserActivity.userCurrentlyActive() instead, which fixes this.

Also increase CURRENTLY_ACTIVE_THRESHOLD_MS to 2 seconds.
@dbkr
Copy link
Member

dbkr commented Mar 22, 2016

lgtm

@dbkr dbkr assigned richvdh and unassigned dbkr Mar 22, 2016
richvdh added a commit that referenced this pull request Mar 22, 2016
Make the read-marker less annoying
@richvdh richvdh merged commit 0737d89 into develop Mar 22, 2016
@richvdh richvdh deleted the rav/read_marker branch March 22, 2016 17:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants