1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Fix: Presence only comes online when UserActivity interrupted activity

This commit is contained in:
Bruno Windels
2018-12-11 16:25:48 +01:00
parent 2b0c2eff1e
commit 408eba7915
2 changed files with 2 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ class Presence {
}
_onAction(payload) {
if (payload.action === 'user_activity_start') {
if (payload.action === 'user_activity') {
this.setState("online");
this._unavailableTimer.restart();
}