mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-21 19:04:10 +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",
|
"avatar_url": "mxc://localhost:wefuiwegh8742w",
|
||||||
"last_active_ago": 2478593,
|
"last_active_ago": 2478593,
|
||||||
"presence": "online",
|
"presence": "online",
|
||||||
"currently_active": false
|
"currently_active": false,
|
||||||
|
"status_msg": "Making cupcakes"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,10 @@
|
||||||
"currently_active": {
|
"currently_active": {
|
||||||
"type": boolean,
|
"type": boolean,
|
||||||
"description": "Whether the user is currently active"
|
"description": "Whether the user is currently active"
|
||||||
|
},
|
||||||
|
"status_msg": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "An optional description to accompany the presence."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["presence"]
|
"required": ["presence"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue