From e4e53d6e01642e0f4ca98d7fb41e20d39d045bfe Mon Sep 17 00:00:00 2001 From: MarcoPolo-PasTonMolo Date: Fri, 17 Jun 2022 15:43:54 +0300 Subject: Don't forget encryption status for OX and PGP. Use a pgp.enabled and ox.enabled array the same way that omemo.enabled is used. Fixes https://github.com/profanity-im/profanity/issues/1694 Fixes https://github.com/profanity-im/profanity/issues/733 --- src/config/account.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/config/account.h') diff --git a/src/config/account.h b/src/config/account.h index dfc7bc12..ce49883e 100644 --- a/src/config/account.h +++ b/src/config/account.h @@ -64,6 +64,8 @@ typedef struct prof_account_t gchar* omemo_policy; GList* omemo_enabled; GList* omemo_disabled; + GList* ox_enabled; + GList* pgp_enabled; gchar* pgp_keyid; gchar* startscript; gchar* theme; @@ -79,8 +81,9 @@ ProfAccount* account_new(const gchar* const name, const gchar* const jid, const gchar* const muc_service, const gchar* const muc_nick, const gchar* const otr_policy, GList* otr_manual, GList* otr_opportunistic, GList* otr_always, const gchar* const omemo_policy, GList* omemo_enabled, - GList* omemo_disabled, const gchar* const pgp_keyid, const char* const startscript, - const char* const theme, gchar* tls_policy, gchar* auth_policy); + GList* omemo_disabled, GList* ox_enabled, GList* pgp_enabled, const gchar* const pgp_keyid, + const char* const startscript, const char* const theme, gchar* tls_policy, + gchar* auth_policy); char* account_create_connect_jid(ProfAccount* account); gboolean account_eval_password(ProfAccount* account); void account_free(ProfAccount* account); -- cgit 1.4.1-2-gfad0