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

@@ -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;