mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-14 23:44:10 +01:00
currently_active is a param on GET response, not put
This commit is contained in:
parent
2691d4925b
commit
0de8ba7f0a
|
|
@ -54,9 +54,6 @@ paths:
|
||||||
status_msg:
|
status_msg:
|
||||||
type: string
|
type: string
|
||||||
description: "The status message to attach to this state."
|
description: "The status message to attach to this state."
|
||||||
currently_active:
|
|
||||||
type: boolean
|
|
||||||
description: "Whether the user is currently active"
|
|
||||||
required: ["presence"]
|
required: ["presence"]
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
|
|
@ -107,6 +104,10 @@ paths:
|
||||||
status_msg:
|
status_msg:
|
||||||
type: [string, "null"]
|
type: [string, "null"]
|
||||||
description: The state message for this user if one was set.
|
description: The state message for this user if one was set.
|
||||||
|
currently_active:
|
||||||
|
type: boolean
|
||||||
|
description: "Whether the user is currently active"
|
||||||
|
required: ["presence"]
|
||||||
404:
|
404:
|
||||||
description: |-
|
description: |-
|
||||||
There is no presence state for this user. This user may not exist or
|
There is no presence state for this user. This user may not exist or
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue