mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-04 05:13:42 +01:00
Merge pull request #1744 from matrix-org/travis/m.presence
Add missing status_msg to m.presence schema and example
This commit is contained in:
commit
f767227e31
|
|
@ -0,0 +1 @@
|
|||
Add missing status_msg to m.presence schema
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
"avatar_url": "mxc://localhost:wefuiwegh8742w",
|
||||
"last_active_ago": 2478593,
|
||||
"presence": "online",
|
||||
"currently_active": false
|
||||
"currently_active": false,
|
||||
"status_msg": "Making cupcakes"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,6 +29,10 @@
|
|||
"currently_active": {
|
||||
"type": boolean,
|
||||
"description": "Whether the user is currently active"
|
||||
},
|
||||
"status_msg": {
|
||||
"type": "string",
|
||||
"description": "An optional description to accompany the presence."
|
||||
}
|
||||
},
|
||||
"required": ["presence"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue