From f78bb72be846ebc5e230311be625a71cc0c7373b Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 10 Dec 2018 15:41:41 -0700 Subject: [PATCH 1/3] Add status_msg to m.presence example --- event-schemas/examples/m.presence | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/event-schemas/examples/m.presence b/event-schemas/examples/m.presence index 36093cd9..ec4ce6e0 100644 --- a/event-schemas/examples/m.presence +++ b/event-schemas/examples/m.presence @@ -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" } } From 1268b421ec90f960115757ae9e6df3f542eaaddc Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 10 Dec 2018 15:44:01 -0700 Subject: [PATCH 2/3] Update the m.presence schema to include status_msg --- event-schemas/schema/m.presence | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/event-schemas/schema/m.presence b/event-schemas/schema/m.presence index 3c884fd6..540fc7a0 100644 --- a/event-schemas/schema/m.presence +++ b/event-schemas/schema/m.presence @@ -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"] From 7461cd7f68f4097be056e8873570a6b37feb28fa Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 10 Dec 2018 15:46:02 -0700 Subject: [PATCH 3/3] Add changelog --- changelogs/client_server/newsfragments/1744.clarification | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelogs/client_server/newsfragments/1744.clarification diff --git a/changelogs/client_server/newsfragments/1744.clarification b/changelogs/client_server/newsfragments/1744.clarification new file mode 100644 index 00000000..6ed00067 --- /dev/null +++ b/changelogs/client_server/newsfragments/1744.clarification @@ -0,0 +1 @@ +Add missing status_msg to m.presence schema