mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Add log on OMEMO session start
This commit is contained in:
parent
3d8c928e53
commit
1309405d28
@ -279,6 +279,7 @@ omemo_generate_short_term_crypto_materials(ProfAccount *account)
|
|||||||
void
|
void
|
||||||
omemo_start_session(const char *const barejid)
|
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);
|
GList *device_list = g_hash_table_lookup(omemo_ctx.device_list, barejid);
|
||||||
if (!device_list) {
|
if (!device_list) {
|
||||||
omemo_devicelist_request(barejid);
|
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 signature_len, const unsigned char *const identity_key_raw,
|
||||||
size_t identity_key_len)
|
size_t identity_key_len)
|
||||||
{
|
{
|
||||||
|
log_info("Start OMEMO session with %s device %d", jid, device_id);
|
||||||
session_pre_key_bundle *bundle;
|
session_pre_key_bundle *bundle;
|
||||||
signal_protocol_address *address;
|
signal_protocol_address *address;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user