[openpgp] Fix typos
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user