about summary refs log tree commit diff stats
path: root/src/omemo
diff options
context:
space:
mode:
Diffstat (limited to 'src/omemo')
-rw-r--r--src/omemo/omemo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/omemo/omemo.c b/src/omemo/omemo.c
index 9e46058e..580416f8 100644
--- a/src/omemo/omemo.c
+++ b/src/omemo/omemo.c
@@ -314,7 +314,7 @@ omemo_generate_short_term_crypto_materials(ProfAccount *account)
     g_hash_table_insert(omemo_ctx.device_list_handler, strdup(account->jid), handle_own_device_list);
     omemo_devicelist_request(account->jid);
 
-    omemo_bundle_publish();
+    omemo_bundle_publish(true);
 }
 
 void
@@ -791,7 +791,7 @@ omemo_on_message_recv(const char *const from_jid, uint32_t sid,
         SIGNAL_UNREF(new_pre_key);
         SIGNAL_UNREF(message);
         SIGNAL_UNREF(ec_pair);
-        omemo_bundle_publish();
+        omemo_bundle_publish(true);
 
         if (res == 0) {
             /* Start a new session */