diff options
author | Paul Fariello <paul@fariello.eu> | 2019-03-05 20:19:46 +0140 |
---|---|---|
committer | Paul Fariello <paul@fariello.eu> | 2019-04-10 16:31:45 +0200 |
commit | 1309405d28eb71e66b1aead45254e0fd1ec81637 (patch) | |
tree | e5bab019fbe5ee77a59eba0172ced9a0519e0ffb | |
parent | 3d8c928e53fd8fecab44448e0d1b64ce4ed1a63c (diff) | |
download | profani-tty-1309405d28eb71e66b1aead45254e0fd1ec81637.tar.gz |
Add log on OMEMO session start
-rw-r--r-- | src/omemo/omemo.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |