about summary refs log tree commit diff stats
path: root/src/config/account.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-05-11 14:13:15 +0100
committerJames Booth <boothj5@gmail.com>2014-05-11 14:13:15 +0100
commit95ff13136bfd84342074a606d7d6676a3c70d1e8 (patch)
tree8ab5e3d03bfa53972e697fea7651a53e39d9e2f1 /src/config/account.h
parentf2ebbdb8de2725eae21419f18dce3f4ecffb6687 (diff)
downloadprofani-tty-95ff13136bfd84342074a606d7d6676a3c70d1e8.tar.gz
Added OTR policy account preference
Diffstat (limited to 'src/config/account.h')
-rw-r--r--src/config/account.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/account.h b/src/config/account.h
index 6050b861..549e9124 100644
--- a/src/config/account.h
+++ b/src/config/account.h
@@ -42,6 +42,7 @@ typedef struct prof_account_t {
     gchar *muc_service;
     gchar *muc_nick;
     gboolean enabled;
+    gchar *otr_policy;
 } ProfAccount;
 
 ProfAccount* account_new(const gchar * const name, const gchar * const jid,
@@ -49,7 +50,7 @@ ProfAccount* account_new(const gchar * const name, const gchar * const jid,
     int port, const gchar * const resource, const gchar * const last_presence,
     const gchar * const login_presence, int priority_online, int priority_chat,
     int priority_away, int priority_xa, int priority_dnd,
-    const gchar * const muc_service, const gchar * const muc_nick);
+    const gchar * const muc_service, const gchar * const muc_nick, const gchar * const otr_policy);
 
 char* account_create_full_jid(ProfAccount *account);