From 449c7ce2bad75438e5cff6733366e0ada153a23e Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 29 Jun 2022 13:26:15 +0200 Subject: 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. --- src/xmpp/message.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/xmpp') diff --git a/src/xmpp/message.c b/src/xmpp/message.c index b5f0dbd9..3eca25d0 100644 --- a/src/xmpp/message.c +++ b/src/xmpp/message.c @@ -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; } -- cgit 1.4.1-2-gfad0