0
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-07-26 12:14:28 -04:00

Fix typo Annonuce -> Announce

This commit is contained in:
Michael Vetter 2022-04-14 09:23:12 +02:00
parent 0293b639c7
commit f891edc0e9

View File

@ -91,8 +91,8 @@ ox_announce_public_key(const char* const filename)
{ {
assert(filename); assert(filename);
cons_show("Annonuce OpenPGP Key for OX %s ...", filename); cons_show("Announce OpenPGP Key for OX %s ...", filename);
log_info("[OX] Annonuce OpenPGP Key of OX: %s", filename); log_info("[OX] Announce OpenPGP Key of OX: %s", filename);
// key the key and the fingerprint via GnuPG from file // key the key and the fingerprint via GnuPG from file
char* key = NULL; char* key = NULL;
@ -104,7 +104,7 @@ ox_announce_public_key(const char* const filename)
return FALSE; return FALSE;
} }
log_info("[OX] Annonuce OpenPGP Key for Fingerprint: %s", fp); log_info("[OX] Announce OpenPGP Key for Fingerprint: %s", fp);
xmpp_ctx_t* const ctx = connection_get_ctx(); xmpp_ctx_t* const ctx = connection_get_ctx();
char* id = xmpp_uuid_gen(ctx); char* id = xmpp_uuid_gen(ctx);
xmpp_stanza_t* iq = xmpp_iq_new(ctx, STANZA_TYPE_SET, id); xmpp_stanza_t* iq = xmpp_iq_new(ctx, STANZA_TYPE_SET, id);
@ -231,7 +231,7 @@ ox_request_public_key(const char* const jid, const char* const fingerprint)
void void
_ox_metadata_node__public_key(const char* const fingerprint) _ox_metadata_node__public_key(const char* const fingerprint)
{ {
log_info("Annonuce OpenPGP metadata: %s", fingerprint); log_info("Announce OpenPGP metadata: %s", fingerprint);
assert(fingerprint); assert(fingerprint);
assert(strlen(fingerprint) == KEYID_LENGTH); assert(strlen(fingerprint) == KEYID_LENGTH);
// iq // iq