feature(receiver): added success request to receiver

This commit is contained in:
Patryk Hegenberg 2024-05-02 10:57:02 +02:00
parent 3508ea5fd2
commit cf0f140ba3
2 changed files with 19 additions and 1 deletions

View file

@ -57,6 +57,11 @@ pub async fn start_receiver(relay: &str, name: &str) {
debug!("Failed to connect remote: {relay_err}");
}
}
let success = http_client::download_success(relay, name).await;
match success {
Ok(()) => debug!("Success"),
Err(e) => error!("Error: {e:?}"),
};
// if let Err(e) = start_ws_com(res_ip.as_str(), res.local_room_id.as_str()).await {
// debug!("Failed to connect local with first room_id: {e}");