mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Allow guests to send state events (#11378)
This commit is contained in:
parent
d93362d87f
commit
afa0a5e4fc
1
changelog.d/11378.feature
Normal file
1
changelog.d/11378.feature
Normal file
@ -0,0 +1 @@
|
||||
Allow guests to send state events per [MSC3419](https://github.com/matrix-org/matrix-doc/pull/3419).
|
@ -187,7 +187,7 @@ class RoomStateEventRestServlet(TransactionRestServlet):
|
||||
state_key: str,
|
||||
txn_id: Optional[str] = None,
|
||||
) -> Tuple[int, JsonDict]:
|
||||
requester = await self.auth.get_user_by_req(request)
|
||||
requester = await self.auth.get_user_by_req(request, allow_guest=True)
|
||||
|
||||
if txn_id:
|
||||
set_tag("txn_id", txn_id)
|
||||
|
Loading…
Reference in New Issue
Block a user