mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 22:58:18 +08:00
2ac88a3d89
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. |
||
---|---|---|
.. | ||
structures | ||
views |