Move OMEMO initialization to profanity intialization

Also store identity keys into account
This commit is contained in:
Paul Fariello
2019-02-19 20:03:50 +01:40
parent 519cf295f3
commit 2602cbf785
9 changed files with 47 additions and 19 deletions

View File

@@ -152,6 +152,7 @@ typedef struct prof_chat_win_t {
gboolean otr_is_trusted;
gboolean pgp_send;
gboolean pgp_recv;
gboolean is_omemo;
char *resource_override;
gboolean history_shown;
unsigned long memcheck;

View File

@@ -143,6 +143,7 @@ win_create_chat(const char *const barejid)
new_win->otr_is_trusted = FALSE;
new_win->pgp_recv = FALSE;
new_win->pgp_send = FALSE;
new_win->is_omemo = FALSE;
new_win->history_shown = FALSE;
new_win->unread = 0;
new_win->state = chat_state_new();