diff options
| author | metamuffin <metamuffin@disroot.org> | 2022-10-13 09:11:56 +0200 | 
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2022-10-13 09:11:56 +0200 | 
| commit | bc8bba637e51d1c813c3edcf8747991dc69319e9 (patch) | |
| tree | dba56c517f5de623ce46ec18a065cc274d8e92dc /client-native-rift | |
| parent | c8ac1b899f7a79898b3ec84157db642051e8e1ae (diff) | |
| download | keks-meet-bc8bba637e51d1c813c3edcf8747991dc69319e9.tar keks-meet-bc8bba637e51d1c813c3edcf8747991dc69319e9.tar.bz2 keks-meet-bc8bba637e51d1c813c3edcf8747991dc69319e9.tar.zst | |
modify client-web to  not sent big messages
Diffstat (limited to 'client-native-rift')
| -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" { | 
