Added enc_mode to ProfChatWin

This commit is contained in:
James Booth
2015-05-04 21:38:19 +01:00
parent a0c872edf8
commit 8ccbeade44
4 changed files with 15 additions and 10 deletions

View File

@@ -252,7 +252,7 @@ _show_privacy(ProfChatWin *chatwin)
{
int bracket_attrs = theme_attrs(THEME_TITLE_BRACKET);
if (!chatwin->is_otr) {
if (chatwin->enc_mode == PROF_ENC_NONE) {
if (prefs_get_boolean(PREF_OTR_WARN)) {
int unencrypted_attrs = theme_attrs(THEME_TITLE_UNENCRYPTED);
wprintw(win, " ");