mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Merge pull request #1387 from DebXWoody/bugfix/1332-omemo
Request Device and Key, when OMEMO is in use
This commit is contained in:
commit
193282a4fc
@ -396,6 +396,7 @@ omemo_start_sessions(void)
|
||||
void
|
||||
omemo_start_session(const char *const barejid)
|
||||
{
|
||||
if( omemo_loaded() ) {
|
||||
log_info("OMEMO: start session with %s", barejid);
|
||||
GList *device_list = g_hash_table_lookup(omemo_ctx.device_list, barejid);
|
||||
if (!device_list) {
|
||||
@ -410,6 +411,7 @@ omemo_start_session(const char *const barejid)
|
||||
omemo_bundle_request(barejid, GPOINTER_TO_INT(device_id->data), omemo_start_device_session_handle_bundle, free, strdup(barejid));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
omemo_start_muc_sessions(const char *const roomjid)
|
||||
|
Loading…
Reference in New Issue
Block a user