Use updated method name check_joined_room -> check_user_in_room
See b58d17e44f
This commit is contained in:
parent
668aa4e710
commit
5b07487294
|
@ -1401,7 +1401,7 @@ class TimestampLookupRestServlet(RestServlet):
|
|||
self, request: SynapseRequest, room_id: str
|
||||
) -> Tuple[int, JsonDict]:
|
||||
requester = await self._auth.get_user_by_req(request)
|
||||
await self._auth.check_joined_room(room_id, requester.to_string())
|
||||
await self._auth.check_user_in_room(room_id, requester.to_string())
|
||||
|
||||
timestamp = parse_integer(request, "ts")
|
||||
|
||||
|
|
Loading…
Reference in a new issue