The previous .git directory was found gutted (only info/ remained), so history is unrecoverable locally. This commit restores version control with the tree exactly as it stands: the working app, the preview-tracks launcher on the artist hero, the scrollable-track-previews design bundle (docs + approved mockups), and the Phase 0 validation artifacts.
13 lines
527 B
Rust
13 lines
527 B
Rust
use tokio::sync::Mutex;
|
|
|
|
#[derive(Default)]
|
|
pub struct AppState {
|
|
pub client: Mutex<Option<soulseek_client::Client>>,
|
|
pub connected_as: Mutex<Option<String>>,
|
|
/// Server-distributed excluded search phrases (message 160). A query
|
|
/// containing one returns ZERO responses network-wide — the server simply
|
|
/// never routes it — so the resolver strips these terms up front instead
|
|
/// of discovering the silence by timeout. Lowercased on receipt.
|
|
pub excluded_search_phrases: Mutex<Vec<String>>,
|
|
}
|