about summary refs log tree commit diff stats
path: root/src/xmpp/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/session.c')
-rw-r--r--src/xmpp/session.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xmpp/session.c b/src/xmpp/session.c
index de7fb7ac..ee836090 100644
--- a/src/xmpp/session.c
+++ b/src/xmpp/session.c
@@ -60,6 +60,10 @@
 #include "xmpp/chat_session.h"
 #include "xmpp/jid.h"
 
+#ifdef HAVE_OMEMO
+#include "xmpp/omemo.h"
+#endif
+
 // for auto reconnect
 static struct {
     char *name;
@@ -313,6 +317,9 @@ session_login_success(gboolean secured)
     roster_request();
     bookmark_request();
     blocking_request();
+#ifdef HAVE_OMEMO
+    omemo_devicelist_publish();
+#endif
 
     // items discovery
     char *domain = connection_get_domain();