Use updated method name check_joined_room -> check_user_in_room

See b58d17e44f
This commit is contained in:
Eric Eastwood 2021-07-26 22:31:29 -05:00
parent 668aa4e710
commit 5b07487294

View file

@ -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")