diff options
-rw-r--r-- | src/ui/titlebar.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c index f519fdd2..6c8fe3aa 100644 --- a/src/ui/titlebar.c +++ b/src/ui/titlebar.c @@ -421,6 +421,21 @@ _show_privacy(ProfChatWin *chatwin) return; } + if (chatwin->is_omemo) { + wprintw(win, " "); + wattron(win, bracket_attrs); + wprintw(win, "["); + wattroff(win, bracket_attrs); + wattron(win, encrypted_attrs); + wprintw(win, "OMEMO"); + wattroff(win, encrypted_attrs); + wattron(win, bracket_attrs); + wprintw(win, "]"); + wattroff(win, bracket_attrs); + + return; + } + if (prefs_get_boolean(PREF_ENC_WARN)) { wprintw(win, " "); wattron(win, bracket_attrs); |