Fix typos in comments.

This commit is contained in:
Patrick Cloke 2020-09-14 11:46:58 -04:00
parent b82d68c0bd
commit d2a3eb04a4
5 changed files with 6 additions and 6 deletions

View file

@ -301,7 +301,7 @@ class DeactivateAccountRestServlet(RestServlet):
requester = await self.auth.get_user_by_req(request)
# allow ASes to dectivate their own users
# allow ASes to deactivate their own users
if requester.app_service:
await self._deactivate_account_handler.deactivate_account(
requester.user.to_string(), erase

View file

@ -35,7 +35,7 @@ class RemoteKey(DirectServeJsonResource):
Supports individual GET APIs and a bulk query POST API.
Requsts:
Requests:
GET /_matrix/key/v2/query/remote.server.example.com HTTP/1.1

View file

@ -83,7 +83,7 @@ class Thumbnailer:
Args:
max_width: The largest possible width.
max_height: The larget possible height.
max_height: The largest possible height.
"""
if max_width * self.height < max_height * self.width:
@ -117,7 +117,7 @@ class Thumbnailer:
Args:
max_width: The largest possible width.
max_height: The larget possible height.
max_height: The largest possible height.
Returns:
BytesIO: the bytes of the encoded image ready to be written to disk