about summary refs log tree commit diff stats
path: root/src/event
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2019-03-01 19:21:20 +0140
committerPaul Fariello <paul@fariello.eu>2019-04-10 16:31:39 +0200
commit421d1b15608d21e693c97b77cacf6e2db74d5abd (patch)
treedd83d879b816b0334e7c00fb8f90dc7509e7b6d2 /src/event
parent810ea3222319e349bfc149fd85be470247b66c96 (diff)
downloadprofani-tty-421d1b15608d21e693c97b77cacf6e2db74d5abd.tar.gz
Add OMEMO identity materials long term storage
Diffstat (limited to 'src/event')
-rw-r--r--src/event/server_events.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index ccb57213..b8ee36cf 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -59,6 +59,10 @@
 #include "pgp/gpg.h"
 #endif
 
+#ifdef HAVE_OMEMO
+#include "omemo/omemo.h"
+#endif
+
 #include "ui/ui.h"
 
 void
@@ -76,6 +80,10 @@ sv_ev_login_account_success(char *account_name, gboolean secured)
     p_gpg_on_connect(account->jid);
 #endif
 
+#ifdef HAVE_OMEMO
+    omemo_on_connect(account);
+#endif
+
     ui_handle_login_account_success(account, secured);
 
     // attempt to rejoin rooms with passwords