Calling Logic

This commit is contained in:
Alex Emmet 2025-12-21 18:52:44 +01:00
commit 0d8890122b
4 changed files with 35 additions and 26 deletions

View file

@ -357,9 +357,8 @@ impl ClientConnection {
/// Forward message to Iota
async fn forward_to_iota(&self, cv: CommunicationValue) {
let user_id = self.get_user_id().await;
if let Some(rho_conn) = self.get_rho_connection().await {
let updated_cv = cv.with_sender(user_id);
let updated_cv = cv.with_sender(self.get_user_id().await);
rho_conn.message_to_iota(updated_cv).await;
}
}