Add a mention about how currently_active works
Reference: d69decd5c7/synapse/handlers/presence.py (L66-L68)
This commit is contained in:
parent
ff1afaa8f7
commit
549a25cad9
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ allOf:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: |-
|
description: |-
|
||||||
Whether or not the user is currently using a device of theirs.
|
Whether or not the user is currently using a device of theirs.
|
||||||
|
For example, if the user's ``last_active_ago`` was within the
|
||||||
|
last few minutes, they may be considered ``currently_active``.
|
||||||
Defaults to false.
|
Defaults to false.
|
||||||
example: true
|
example: true
|
||||||
required: ['user_id', 'presence', 'last_active_ago']
|
required: ['user_id', 'presence', 'last_active_ago']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue