mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
@@ -246,9 +246,9 @@ impl<T: InvokeUiSession> Session<T> {
|
||||
|
||||
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
pub fn send_plugin(&self, plugin: Plugin) {
|
||||
pub fn send_plugin_request(&self, request: PluginRequest) {
|
||||
let mut misc = Misc::new();
|
||||
misc.set_plugin(plugin);
|
||||
misc.set_plugin_request(request);
|
||||
let mut msg_out = Message::new();
|
||||
msg_out.set_misc(misc);
|
||||
self.send(Data::Message(msg_out));
|
||||
|
||||
Reference in New Issue
Block a user