about summary refs log tree commit diff stats
path: root/src/ui/core.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-08-26 01:06:10 +0100
committerJames Booth <boothj5@gmail.com>2015-08-26 01:06:10 +0100
commit1bf584793f54db23100e5c5815666a528230d745 (patch)
treea866d00ad423489c6b34fac662b139031c19e131 /src/ui/core.c
parent48630d45a44ddc22284893e81b15b3880107cbd1 (diff)
downloadprofani-tty-1bf584793f54db23100e5c5815666a528230d745.tar.gz
Added preference for encryption char
Diffstat (limited to 'src/ui/core.c')
-rw-r--r--src/ui/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index f416a448..d66806d4 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -1291,9 +1291,9 @@ ui_outgoing_chat_msg(ProfChatWin *chatwin, const char * const message, char *id,
 {
     char enc_char = '-';
     if (enc_mode == PROF_ENC_OTR) {
-        enc_char = 'O';
+        enc_char = prefs_get_otr_char();
     } else if (enc_mode == PROF_ENC_PGP) {
-        enc_char = 'P';
+        enc_char = prefs_get_pgp_char();
     }
 
     if (prefs_get_boolean(PREF_RECEIPTS_REQUEST) && id) {