aboutsummaryrefslogtreecommitdiff
path: root/client-native-lib/src/peer.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-09-14 20:23:40 +0200
committermetamuffin <metamuffin@disroot.org>2022-09-14 20:23:40 +0200
commit9b6b92d0cec58c3054c389f73fc86b96b79c17d1 (patch)
tree8077c8e6fb00179ca31cd2e6822bf0315419bac7 /client-native-lib/src/peer.rs
parentc752fe962df841b0cb811b09f155568735e7380c (diff)
downloadkeks-meet-9b6b92d0cec58c3054c389f73fc86b96b79c17d1.tar
keks-meet-9b6b92d0cec58c3054c389f73fc86b96b79c17d1.tar.bz2
keks-meet-9b6b92d0cec58c3054c389f73fc86b96b79c17d1.tar.zst
extract lib
Diffstat (limited to 'client-native-lib/src/peer.rs')
-rw-r--r--client-native-lib/src/peer.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/client-native-lib/src/peer.rs b/client-native-lib/src/peer.rs
index 8402fc6..64eb641 100644
--- a/client-native-lib/src/peer.rs
+++ b/client-native-lib/src/peer.rs
@@ -12,7 +12,6 @@ use webrtc::{
use crate::{
protocol::{self, RTCSessionDescriptionInit, RelayMessage},
state::State,
- Action,
};
pub struct Peer {
@@ -83,9 +82,9 @@ impl Peer {
.await;
}
- if let Action::Send { .. } = &peer.state.args.action {
- peer.start_transfer().await
- }
+ // if let Action::Send { .. } = &peer.state.args.action {
+ // peer.start_transfer().await
+ // }
peer
}