Add a mention about how currently_active works

Reference: d69decd5c7/synapse/handlers/presence.py (L66-L68)
pull/977/head
Travis Ralston 6 years ago
parent ff1afaa8f7
commit 549a25cad9

@ -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…
Cancel
Save