Added OTR policy account preference

This commit is contained in:
James Booth
2014-05-11 14:13:15 +01:00
parent f2ebbdb8de
commit 95ff13136b
10 changed files with 46 additions and 17 deletions

View File

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