1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-16 21:35:24 +00:00

ox: add helper message in case signcrypt doesnt work

Most likely they didnt trust/sign the key. Which is described in the
profanity-ox-setup man page.
This commit is contained in:
Michael Vetter 2022-06-29 13:26:15 +02:00
parent d8645a875b
commit 449c7ce2ba

View File

@ -548,6 +548,7 @@ message_send_chat_ox(const char* const barejid, const char* const msg, gboolean
xmpp_stanza_to_text(signcrypt, &c, &s);
char* signcrypt_e = p_ox_gpg_signcrypt(account->jid, barejid, c);
if (signcrypt_e == NULL) {
cons_show("Unable to send OX message. Check log file and profanity-ox-setup man page for details.");
log_error("Message not signcrypted.");
return NULL;
}