Merge pull request #1744 from matrix-org/travis/m.presence

Add missing status_msg to m.presence schema and example
pull/977/head
Travis Ralston 6 years ago committed by GitHub
commit f767227e31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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