[Fix] User deletion & migration

This commit is contained in:
Alex 2026-08-09 02:51:11 +02:00
commit 722eb9b025
Signed by: alex
SSH key fingerprint: SHA256:D1+Ub8o0v4K5y1JNivW8IxEOelqLSvPmUzBbDIoZkRQ
8 changed files with 150 additions and 119 deletions

View file

@ -77,6 +77,12 @@ impl ClientConnection {
*self.rho_connection.write().await = Some(rho_connection);
}
/// A membership snapshot can remove an account from an Iota while keeping
/// its authenticated Omega connection alive.
pub async fn clear_rho_connection(&self) {
*self.rho_connection.write().await = None;
}
/// Send a CommunicationValue to the client
pub async fn send_message(self: Arc<Self>, cv: &CommunicationValue) {
if !*self.is_open.read().await {