no password required for file transfer action in remote control menu (#9731)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages
2024-10-24 17:20:48 +08:00
committed by GitHub
parent 7a3e1fe648
commit 445e9ac285
16 changed files with 222 additions and 52 deletions

View File

@@ -1490,6 +1490,10 @@ impl<T: InvokeUiSession> Session<T> {
msg.set_misc(misc);
self.send(Data::Message(msg));
}
pub fn get_conn_token(&self) -> Option<String> {
self.lc.read().unwrap().get_conn_token()
}
}
pub trait InvokeUiSession: Send + Sync + Clone + 'static + Sized + Default {