From 3221c0abb5869b3194ef9a2219397378b50ec240 Mon Sep 17 00:00:00 2001 From: JRoberts <8711996+jr-simplex@users.noreply.github.com> Date: Thu, 18 Aug 2022 15:17:18 +0400 Subject: [PATCH] docs: optional profile in groupInvitation and x.grp.acpt (incognito connections) (#944) --- docs/protocol/simplex-chat.schema.json | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/protocol/simplex-chat.schema.json b/docs/protocol/simplex-chat.schema.json index 379969bb5..76612d22f 100644 --- a/docs/protocol/simplex-chat.schema.json +++ b/docs/protocol/simplex-chat.schema.json @@ -82,7 +82,7 @@ "memberId": {"ref": "base64url"}, "metadata": { "comment": "memberId must be present in all group message references, both for sent and received" - } + } } }, "fileInvitation": { @@ -108,6 +108,12 @@ "invitedMember": {"ref": "memberIdRole"}, "connRequest": {"ref": "connReqUri"}, "groupProfile": {"ref": "profile"} + }, + "optionalProperties": { + "fromMemberProfile": {"ref": "profile"}, + "metadata": { + "comment": "fromMemberProfile is user's custom profile to be used in the group - invitee should use this profile for the host's group member" + } } }, "memberIdRole": { @@ -156,7 +162,7 @@ "rtcExtraInfo": { "properties": { "rtcIceCandidates": {"type": "string"} - } + } } } }, @@ -210,7 +216,7 @@ "profile": {"ref": "profile"} } } - } + } }, "x.info.probe": { "properties": { @@ -317,6 +323,12 @@ "params": { "properties": { "memberId": {"ref": "base64url"} + }, + "optionalProperties": { + "memberProfile": {"ref": "profile"}, + "metadata": { + "comment": "memberProfile is user's custom profile to be used in the group - host should use this profile for the invitee's group member" + } } } }