mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Fix typos in comments.
This commit is contained in:
parent
b82d68c0bd
commit
d2a3eb04a4
@ -509,7 +509,7 @@ def start_active_span_from_edu(
|
|||||||
]
|
]
|
||||||
|
|
||||||
# For some reason jaeger decided not to support the visualization of multiple parent
|
# For some reason jaeger decided not to support the visualization of multiple parent
|
||||||
# spans or explicitely show references. I include the span context as a tag here as
|
# spans or explicitly show references. I include the span context as a tag here as
|
||||||
# an aid to people debugging but it's really not an ideal solution.
|
# an aid to people debugging but it's really not an ideal solution.
|
||||||
|
|
||||||
references += _references
|
references += _references
|
||||||
|
@ -93,7 +93,7 @@ class ReplicationStreamer:
|
|||||||
"""
|
"""
|
||||||
if not self.command_handler.connected():
|
if not self.command_handler.connected():
|
||||||
# Don't bother if nothing is listening. We still need to advance
|
# Don't bother if nothing is listening. We still need to advance
|
||||||
# the stream tokens otherwise they'll fall beihind forever
|
# the stream tokens otherwise they'll fall behind forever
|
||||||
for stream in self.streams:
|
for stream in self.streams:
|
||||||
stream.discard_updates_and_advance()
|
stream.discard_updates_and_advance()
|
||||||
return
|
return
|
||||||
|
@ -301,7 +301,7 @@ class DeactivateAccountRestServlet(RestServlet):
|
|||||||
|
|
||||||
requester = await self.auth.get_user_by_req(request)
|
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:
|
if requester.app_service:
|
||||||
await self._deactivate_account_handler.deactivate_account(
|
await self._deactivate_account_handler.deactivate_account(
|
||||||
requester.user.to_string(), erase
|
requester.user.to_string(), erase
|
||||||
|
@ -35,7 +35,7 @@ class RemoteKey(DirectServeJsonResource):
|
|||||||
|
|
||||||
Supports individual GET APIs and a bulk query POST API.
|
Supports individual GET APIs and a bulk query POST API.
|
||||||
|
|
||||||
Requsts:
|
Requests:
|
||||||
|
|
||||||
GET /_matrix/key/v2/query/remote.server.example.com HTTP/1.1
|
GET /_matrix/key/v2/query/remote.server.example.com HTTP/1.1
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ class Thumbnailer:
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
max_width: The largest possible width.
|
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:
|
if max_width * self.height < max_height * self.width:
|
||||||
@ -117,7 +117,7 @@ class Thumbnailer:
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
max_width: The largest possible width.
|
max_width: The largest possible width.
|
||||||
max_height: The larget possible height.
|
max_height: The largest possible height.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
BytesIO: the bytes of the encoded image ready to be written to disk
|
BytesIO: the bytes of the encoded image ready to be written to disk
|
||||||
|
Loading…
Reference in New Issue
Block a user