about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-02-20 10:48:28 +0100
committerMichael Vetter <jubalh@iodoru.org>2019-02-20 10:48:28 +0100
commit4792984f1e27b12edbf9e3d87faf138565960713 (patch)
tree20d721395d3f8b960e0ad300dcf0ad13491a2054 /src/xmpp
parentc8f55ed3385c44acc5d2675e086cc71e719f7c2c (diff)
downloadprofani-tty-4792984f1e27b12edbf9e3d87faf138565960713.tar.gz
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.
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/message.c2
1 files changed, 1 insertions, 1 deletions
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);