diff options
author | Robert Long <robert@robertlong.me> | 2021-12-09 03:02:05 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 11:02:05 +0000 |
commit | afa0a5e4fc4e6badd6f3bc8393fe4d6abb2d834c (patch) | |
tree | 82e9d1f39da36e742955294d5f3379145bf9f6e5 /synapse | |
parent | Add a constant for receipt types (m.read). (#11531) (diff) | |
download | synapse-afa0a5e4fc4e6badd6f3bc8393fe4d6abb2d834c.tar.xz |
Allow guests to send state events (#11378)
Diffstat (limited to '')
-rw-r--r-- | synapse/rest/client/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/room.py b/synapse/rest/client/room.py index f48e2e6ca2..60719331b6 100644 --- a/synapse/rest/client/room.py +++ b/synapse/rest/client/room.py @@ -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) |