Additional comment + whitespace

This commit is contained in:
Hugh Nimmo-Smith committed 2026-10-29 13:29:17 +00:00
1 parent cb695d455e
commit 505bbf6178
1 file changed
+2 -1
+2 -1
View File
@@ -102,8 +102,9 @@ class MSC4388CreateRendezvousServlet(RestServlet):
refreshing rather than that server policy does not permit it to create
a session.
"""
# This will raise if the token is invalid or needs a refresh
requester = await self.auth.get_optional_user_by_req(request)
# Creation is allowed if authenticated or authentication isn't
# required
return requester is not None or not self.require_authentication