trigger setLastSeen on all actions
This commit is contained in:
parent
d5b9a23356
commit
6938ef8676
1 changed files with 4 additions and 0 deletions
|
|
@ -442,6 +442,10 @@ class Mediator {
|
|||
this.socket.on(IS_GUN_AUTH, this.isGunAuth)
|
||||
|
||||
this.socket.on(Action.SET_LAST_SEEN_APP, this.setLastSeenApp)
|
||||
|
||||
Object.values(Action).forEach(actionConstant =>
|
||||
this.socket.on(actionConstant, this.setLastSeenApp)
|
||||
)
|
||||
}
|
||||
|
||||
/** @param {SimpleSocket} socket */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue