diff options
Diffstat (limited to 'client-native-rift/src/main.rs')
-rw-r--r-- | client-native-rift/src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client-native-rift/src/main.rs b/client-native-rift/src/main.rs index 7176290..72c8396 100644 --- a/client-native-rift/src/main.rs +++ b/client-native-rift/src/main.rs @@ -89,8 +89,9 @@ impl EventHandler for Handler { info: client_native_lib::protocol::ProvideInfo, ) -> DynFut<()> { let id = info.id.clone(); + let args = self.args.clone(); Box::pin(async move { - match self.args.action { + match &args.action { Action::Send { filename } => {} Action::Receive { filename } => { if info.kind == "file" { |