fix(tui): removed a ton of use_username_dirs references

feat(tui): username is now appended to download_dir before passed as parameter
fix(tui): username is sanitized before appended to path
This commit is contained in:
Maik Steiger
2026-10-09 13:33:22 +02:00
parent 5e979a7425
commit 9805b807e5
28 changed files with 69 additions and 77 deletions
-3
View File
@@ -84,7 +84,6 @@ fn at_status(
token: 1,
size: 4096,
download_directory: "/tmp".to_string(),
use_username_dirs: false,
status,
sender,
queue_position: None,
@@ -161,7 +160,6 @@ impl SessionApi for TalkativeSession {
_username: String,
_size: u64,
_directory: String,
_use_username_dirs: bool,
) -> soulseek_rs::Result<(
soulseek_rs::types::Download,
std::sync::mpsc::Receiver<soulseek_rs::DownloadStatus>,
@@ -174,7 +172,6 @@ impl SessionApi for TalkativeSession {
_username: String,
_size: u64,
_directory: String,
_use_username_dirs: bool,
_metadata: soulseek_rs::types::DownloadMetadata,
) -> soulseek_rs::Result<(
soulseek_rs::types::Download,