Links to ts3server://, teamspeak:// and tmspk.gg in chat were only copied. voelin_model::Link reads them, and invite_link now writes through ServerLink::to_url, so a copied invite reads back the same (a '/' in a channel's name stays %2F in the link, \/ in the path). App::open_link (links.rs) finds the saved server with that address (vm::servers::same_address; of several, the one in voice, else the one shown: link_server). In voice on it, it moves into the link's channel (channel_by_path) through join_channel, so a locked channel asks for its password when the link's is missing or wrong. Otherwise the server dialog opens filled in by link_form, over the saved server's form when there is one: its nickname stays. Nothing connects before Connect. Invite codes need a TeamSpeak service; a toast says so. VOELIN_OPEN=link:<url> goes through inbox::Request::OpenLink, where the platform's links will come in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
34 lines
527 B
Rust
34 lines
527 B
Rust
//! Slint user interface shared by the desktop binary and the mobile apps.
|
|
|
|
mod app;
|
|
mod appearance;
|
|
mod bind;
|
|
mod camera;
|
|
mod chat;
|
|
mod dev;
|
|
mod emoji;
|
|
mod events;
|
|
mod home;
|
|
mod hotkey;
|
|
mod identities;
|
|
mod images;
|
|
mod inbox;
|
|
mod links;
|
|
mod members;
|
|
mod messages;
|
|
#[cfg(not(target_os = "android"))]
|
|
mod myts;
|
|
mod previews;
|
|
mod servers;
|
|
mod settings;
|
|
mod settings_page;
|
|
mod settings_pages;
|
|
mod social;
|
|
mod streams;
|
|
mod studio;
|
|
mod video;
|
|
mod vm;
|
|
|
|
pub use app::{HostedEngine, RunOptions, run};
|
|
pub use inbox::{Request, request};
|