Wait for discovery end to publish omemo devicelist and bundle
Add sv_ev_connection_features_received for that purpose
This commit is contained in:
@@ -176,6 +176,14 @@ sv_ev_roster_received(void)
|
||||
plugins_on_connect(account_name, fulljid);
|
||||
}
|
||||
|
||||
void
|
||||
sv_ev_connection_features_received(void)
|
||||
{
|
||||
#ifdef HAVE_OMEMO
|
||||
omemo_publish_crypto_materials();
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
sv_ev_lost_connection(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user