mirror of
https://github.com/profanity-im/profanity.git
synced 2024-06-23 21:45:30 +00:00
ox: remove else case
This commit is contained in:
parent
144742cb70
commit
8173878bc7
|
@ -102,7 +102,8 @@ ox_announce_public_key(const char* const filename)
|
|||
if (!(key && fp)) {
|
||||
cons_show("Error during OpenPGP OX announce. See log file for more information");
|
||||
return FALSE;
|
||||
} else {
|
||||
}
|
||||
|
||||
log_info("[OX] Annonuce OpenPGP Key for Fingerprint: %s", fp);
|
||||
xmpp_ctx_t* const ctx = connection_get_ctx();
|
||||
char* id = xmpp_uuid_gen(ctx);
|
||||
|
@ -145,7 +146,7 @@ ox_announce_public_key(const char* const filename)
|
|||
xmpp_send(connection_get_conn(), iq);
|
||||
|
||||
_ox_metadata_node__public_key(fp);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user