about summary refs log tree commit diff stats
path: root/src/ui/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.h')
-rw-r--r--src/ui/window.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/window.h b/src/ui/window.h
index 650df67f..d5e57971 100644
--- a/src/ui/window.h
+++ b/src/ui/window.h
@@ -99,6 +99,11 @@ typedef enum {
     WIN_XML
 } win_type_t;
 
+typedef enum {
+    PROF_ENC_NONE,
+    PROF_ENC_OTR
+} prof_enc_t;
+
 typedef struct prof_win_t {
     win_type_t type;
     ProfLayout *layout;
@@ -113,7 +118,7 @@ typedef struct prof_chat_win_t {
     char *barejid;
     int unread;
     ChatState *state;
-    gboolean is_otr;
+    prof_enc_t enc_mode;
     gboolean is_trusted;
     char *resource_override;
     gboolean history_shown;