mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-04 20:06:21 +00:00
ox: remove else case
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user