Wait for discovery end to publish omemo devicelist and bundle

Add sv_ev_connection_features_received for that purpose
This commit is contained in:
Paul Fariello
2019-04-08 20:29:25 +03:20
parent edbc15fa2b
commit 4ad6904216
10 changed files with 59 additions and 10 deletions

View File

@@ -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)
{