diff options
author | Paul Fariello <paul@fariello.eu> | 2019-03-01 19:21:20 +0140 |
---|---|---|
committer | Paul Fariello <paul@fariello.eu> | 2019-04-10 16:31:39 +0200 |
commit | 421d1b15608d21e693c97b77cacf6e2db74d5abd (patch) | |
tree | dd83d879b816b0334e7c00fb8f90dc7509e7b6d2 /src/event | |
parent | 810ea3222319e349bfc149fd85be470247b66c96 (diff) | |
download | profani-tty-421d1b15608d21e693c97b77cacf6e2db74d5abd.tar.gz |
Add OMEMO identity materials long term storage
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/server_events.c | 8 |
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 |