From 1309405d28eb71e66b1aead45254e0fd1ec81637 Mon Sep 17 00:00:00 2001 From: Paul Fariello Date: Tue, 5 Mar 2019 20:19:46 +0140 Subject: Add log on OMEMO session start --- src/omemo/omemo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/omemo') diff --git a/src/omemo/omemo.c b/src/omemo/omemo.c index 98b6f24b..905c5c22 100644 --- a/src/omemo/omemo.c +++ b/src/omemo/omemo.c @@ -279,6 +279,7 @@ omemo_generate_short_term_crypto_materials(ProfAccount *account) void omemo_start_session(const char *const barejid) { + log_info("Start OMEMO session with %s", barejid); GList *device_list = g_hash_table_lookup(omemo_ctx.device_list, barejid); if (!device_list) { omemo_devicelist_request(barejid); @@ -397,6 +398,7 @@ omemo_start_device_session(const char *const jid, uint32_t device_id, size_t signature_len, const unsigned char *const identity_key_raw, size_t identity_key_len) { + log_info("Start OMEMO session with %s device %d", jid, device_id); session_pre_key_bundle *bundle; signal_protocol_address *address; -- cgit 1.4.1-2-gfad0