From 549a25cad9b73df38d84b33e1837bf161f78b18b Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 17 Aug 2018 09:33:40 -0600 Subject: [PATCH] Add a mention about how currently_active works Reference: https://github.com/matrix-org/synapse/blob/d69decd5c78c72abef50b597a689e2bc55a39702/synapse/handlers/presence.py#L66-L68 --- api/server-server/definitions/event-schemas/m.presence.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/server-server/definitions/event-schemas/m.presence.yaml b/api/server-server/definitions/event-schemas/m.presence.yaml index 6d83b967..011db2ca 100644 --- a/api/server-server/definitions/event-schemas/m.presence.yaml +++ b/api/server-server/definitions/event-schemas/m.presence.yaml @@ -62,6 +62,8 @@ allOf: type: boolean description: |- 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. example: true required: ['user_id', 'presence', 'last_active_ago']