Skip to content

Commit c686bb8

Browse files
committed
Add MSC3419 support
#3419
1 parent cbb45bf commit c686bb8

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

Diff for: content/client-server-api/modules/guest_access.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ for sending events:
5454

5555
- [POST /rooms/:room\_id/join](#post_matrixclientv3roomsroomidjoin)
5656
- [POST /rooms/:room\_id/leave](#post_matrixclientv3roomsroomidleave)
57-
- [PUT /rooms/:room\_id/send/m.room.message/:txn\_id](#put_matrixclientv3roomsroomidsendeventtypetxnid)
57+
- [PUT /rooms/:room\_id/send/:event\_type/:txn\_id](#put_matrixclientv3roomsroomidsendeventtypetxnid)
58+
59+
- {{% changed-in v="1.2" %}} Guests can now send *any* event
60+
type rather than just `m.room.message` events.
61+
62+
- {{% added-in v="1.2" %}} [PUT /rooms/:room\_id/state/:event\_type/:state\_key](#put_matrixclientv3roomsroomidstateeventtypestatekey)
5863
- [PUT /sendToDevice/{eventType}/{txnId}](#put_matrixclientv3sendtodeviceeventtypetxnid)
5964

6065
The following API endpoints are allowed to be accessed by guest accounts
@@ -90,3 +95,6 @@ properly enforce the permissions outlined in this section.
9095

9196
Homeservers may want to enable protections such as captchas for guest
9297
registration to prevent spam, denial of service, and similar attacks.
98+
99+
Homeservers may want to put stricter rate limits on guest accounts,
100+
particularly for sending state events.

Diff for: layouts/shortcodes/changed-in.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{{ $ver := .Params.v }}
2+
{{ $this := .Params.this }}
3+
4+
{{ if $this }}
5+
<span>**[Changed in this version]**</span>
6+
{{ else }}
7+
<span>**[Changed in `v{{ $ver }}`]**</span>
8+
{{ end }} {{/* Do not leave an empty line at the end of this file otherwise the inline behaviour breaks. */}}

0 commit comments

Comments
 (0)