[openpgp] Fix typos

This commit is contained in:
Philipp Hörist
2025-01-25 19:34:08 +01:00
parent f0627aac91
commit bff638da44
2 changed files with 2 additions and 2 deletions

View File

@@ -9,4 +9,4 @@ def parse_uid(uid: str, compat=False) -> str:
if compat and "<xmpp:" in uid and uid.endswith(">"):
return uid[:-1].split("<xmpp:", maxsplit=1)[1]
raise ValueError("Uknown UID format: %s" % uid)
raise ValueError("Unknown UID format: %s" % uid)

View File

@@ -254,7 +254,7 @@ class OpenPGP(BaseModule):
keys = self._contacts.get_keys(remote_jid)
if not keys:
log.error("Droping stanza to %s, because we have no key", remote_jid)
log.error("Dropping stanza to %s, because we have no key", remote_jid)
return
keys += self._contacts.get_keys(self.own_jid)