diff options
author | DebXWoody <stefan@debxwoody.de> | 2020-06-21 09:43:42 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-06-29 19:05:41 +0200 |
commit | 2c94ee5a88f64332a3f41f41a4d314fc52200e31 (patch) | |
tree | 6209fd4796609a7706f950b18a9bb652c6c137fb /src/ui/mucwin.c | |
parent | 3afd854dc862696c4842b2ed93efcad44d617910 (diff) | |
download | profani-tty-2c94ee5a88f64332a3f41f41a4d314fc52200e31.tar.gz |
Feature request - XEP-0373: OpenPGP for XMPP (OX)
Basic implementation of XEP-0373: OpenPGP for XMPP. https://xmpp.org/extensions/xep-0373.html Command /ox Issue: #1331
Diffstat (limited to 'src/ui/mucwin.c')
-rw-r--r-- | src/ui/mucwin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index cb0167d0..66f33a4b 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -503,6 +503,7 @@ mucwin_outgoing_msg(ProfMucWin *mucwin, const char *const message, const char *c ProfWin *window = (ProfWin*)mucwin; char *mynick = muc_nick(mucwin->roomjid); + // displayed message char char *ch; if (mucwin->message_char) { ch = strdup(mucwin->message_char); @@ -512,6 +513,8 @@ mucwin_outgoing_msg(ProfMucWin *mucwin, const char *const message, const char *c ch = prefs_get_pgp_char(); } else if (enc_mode == PROF_MSG_ENC_OMEMO) { ch = prefs_get_omemo_char(); + } else if (enc_mode == PROF_MSG_ENC_OX) { + ch = prefs_get_omemo_char(); } else { ch = strdup("-"); } |