mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-03 04:44:48 -04:00
Allow guests to send state events (#11378)
This commit is contained in:
parent
d93362d87f
commit
afa0a5e4fc
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue