diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-07-09 09:52:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-09 09:52:58 -0400 |
commit | 38e1fac8861f12b707609da06008695a05aaf21c (patch) | |
tree | 4d176e1a5e96a7f488081c970f2c59e495533ba8 /synapse/federation/sender/per_destination_queue.py | |
parent | `update_membership` declaration: now always returns an event id. (#7809) (diff) | |
download | synapse-38e1fac8861f12b707609da06008695a05aaf21c.tar.xz |
Fix some spelling mistakes / typos. (#7811)
Diffstat (limited to 'synapse/federation/sender/per_destination_queue.py')
-rw-r--r-- | synapse/federation/sender/per_destination_queue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/sender/per_destination_queue.py b/synapse/federation/sender/per_destination_queue.py index 4e698981a4..12966e239b 100644 --- a/synapse/federation/sender/per_destination_queue.py +++ b/synapse/federation/sender/per_destination_queue.py @@ -119,7 +119,7 @@ class PerDestinationQueue(object): ) def send_pdu(self, pdu: EventBase, order: int) -> None: - """Add a PDU to the queue, and start the transmission loop if neccessary + """Add a PDU to the queue, and start the transmission loop if necessary Args: pdu: pdu to send @@ -129,7 +129,7 @@ class PerDestinationQueue(object): self.attempt_new_transaction() def send_presence(self, states: Iterable[UserPresenceState]) -> None: - """Add presence updates to the queue. Start the transmission loop if neccessary. + """Add presence updates to the queue. Start the transmission loop if necessary. Args: states: presence to send |