mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 06:36:22 +00:00
Added enc_mode to ProfChatWin
This commit is contained in:
@@ -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, " ");
|
||||
|
||||
Reference in New Issue
Block a user