Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Allow guests to send state events (#11378)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong authored Dec 9, 2021
1 parent d93362d commit afa0a5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/11378.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allow guests to send state events per [MSC3419](https://github.com/matrix-org/matrix-doc/pull/3419).
2 changes: 1 addition & 1 deletion synapse/rest/client/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async def on_PUT(
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)
Expand Down

0 comments on commit afa0a5e

Please sign in to comment.