mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
plugin_framework, flutter event handlers
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -1301,7 +1301,7 @@ impl<T: InvokeUiSession> Remote<T> {
|
||||
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
Some(misc::Union::PluginRequest(p)) => {
|
||||
allow_err!(crate::plugin::handle_server_event(&p.id, &p.content));
|
||||
allow_err!(crate::plugin::handle_server_event(&p.id, &self.handler.id, &p.content));
|
||||
// to-do: show message box on UI when error occurs?
|
||||
}
|
||||
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
|
||||
|
||||
Reference in New Issue
Block a user