1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00
This commit is contained in:
Bruno Windels
2019-01-08 12:10:42 +01:00
parent 7227049c2a
commit 56726ba8e5
2 changed files with 6 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ class UserActivity {
* Can be called multiple times with the same already running timer, which is a NO-OP.
* Can be called before the user becomes active, in which case it is only started
* later on when the user does become active.
* @param {Timer} timer the timer to use
*/
timeWhileActive(timer) {
// important this happens first