Add a mention about how currently_active works

Reference: d69decd5c7/synapse/handlers/presence.py (L66-L68)
This commit is contained in:
Travis Ralston 2018-08-17 09:33:40 -06:00
parent ff1afaa8f7
commit 549a25cad9

View file

@ -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']