Skip to content

Commit

Permalink
appendices.md: expand URI scheme by actions to include knock
Browse files Browse the repository at this point in the history
Resolves: matrix-org#1015

Signed-off-by: Aminda Suomalainen <[email protected]>
  • Loading branch information
Mikaela committed Apr 17, 2022
1 parent b9500a7 commit d3530bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/appendices/newsfragments/1030.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that URI scheme actions may include `knock`
6 changes: 5 additions & 1 deletion content/appendices.md
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ type-qualifier = segment-nz "/" ; as defined in RFC 3986
id-without-sigil = string ; as defined in Matrix identifier spec above
query = query-element *( "&" query-item )
query-item = action / routing / custom-query-item
action = "action=" ( "join" / "chat" )
action = "action=" ( "join" / "chat" / "knock" )
routing = "via=” authority
custom-query-item = custom-item-name "=" custom-item-value
custom-item-name = 1*unreserved ; reverse-DNS name
Expand Down Expand Up @@ -745,6 +745,10 @@ this specification are the following:
form of Canonical DMs should reuse existing DMs instead of creating new ones
if available. The client should prompt for confirmation prior to creating the
DM, if the user isn't being redirected to an existing canonical DM.
* `action=knock` - Describes an intent for the client to knock the room described
by the URI and thus is only valid on URIs which are referring to a room (it
has no meaning and is ignored otherwise). The client should prompt for confirmation
prior to knocking the room, if the user isn't already part of the room.
* `via` - Can be used to denote which servers (`authority` grammar) to attempt to resolve
the resource through, or take `action` through. An example of using `via` for
routing Room IDs is described [below](#routing), and is encouraged for use in
Expand Down

0 comments on commit d3530bc

Please sign in to comment.