mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 22:36:30 +03:00
add migrated accounts to events emitter (#2607)
successor of #2559 closes #2606
This commit is contained in:
@@ -179,6 +179,7 @@ impl Accounts {
|
|||||||
account_config.id,
|
account_config.id,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
self.emitter.add_account(&ctx).await?;
|
||||||
self.accounts.write().await.insert(account_config.id, ctx);
|
self.accounts.write().await.insert(account_config.id, ctx);
|
||||||
Ok(account_config.id)
|
Ok(account_config.id)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user