From 4792984f1e27b12edbf9e3d87faf138565960713 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 20 Feb 2019 10:48:28 +0100 Subject: XEP-0027: Mention XEP in message body With all the different kinds of encryption (OMEMO, OTR3 OTR4, PGP in XEP-0027 and XEP-0373) it might be helpful to know which kind of encryption is used. --- src/xmpp/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/xmpp/message.c b/src/xmpp/message.c index 6a2197f3..adea5c10 100644 --- a/src/xmpp/message.c +++ b/src/xmpp/message.c @@ -181,7 +181,7 @@ message_send_chat_pgp(const char *const barejid, const char *const msg, gboolean char *encrypted = p_gpg_encrypt(jidp->barejid, msg, account->pgp_keyid); if (encrypted) { message = xmpp_message_new(ctx, STANZA_TYPE_CHAT, jid, id); - xmpp_message_set_body(message, "This message is encrypted."); + xmpp_message_set_body(message, "This message is encrypted (XEP-0027)."); xmpp_stanza_t *x = xmpp_stanza_new(ctx); xmpp_stanza_set_name(x, STANZA_NAME_X); xmpp_stanza_set_ns(x, STANZA_NS_ENCRYPTED); -- cgit 1.4.1-2-gfad0