Fix warnings in unimplemented function
This commit is contained in:
parent
fa74c49dbb
commit
b45234eece
1 changed files with 3 additions and 3 deletions
|
@ -552,14 +552,14 @@ impl CallHandler for Call {
|
||||||
fn shared_screen_for_peer(
|
fn shared_screen_for_peer(
|
||||||
&self,
|
&self,
|
||||||
peer_id: PeerId,
|
peer_id: PeerId,
|
||||||
pane: &View<Pane>,
|
_pane: &View<Pane>,
|
||||||
cx: &mut ViewContext<Workspace>,
|
cx: &mut ViewContext<Workspace>,
|
||||||
) -> Option<Box<dyn ItemHandle>> {
|
) -> Option<Box<dyn ItemHandle>> {
|
||||||
let (call, _) = self.active_call.as_ref()?;
|
let (call, _) = self.active_call.as_ref()?;
|
||||||
let room = call.read(cx).room()?.read(cx);
|
let room = call.read(cx).room()?.read(cx);
|
||||||
let participant = room.remote_participant_for_peer_id(peer_id)?;
|
let participant = room.remote_participant_for_peer_id(peer_id)?;
|
||||||
let track = participant.video_tracks.values().next()?.clone();
|
let _track = participant.video_tracks.values().next()?.clone();
|
||||||
let user = participant.user.clone();
|
let _user = participant.user.clone();
|
||||||
todo!();
|
todo!();
|
||||||
// for item in pane.read(cx).items_of_type::<SharedScreen>() {
|
// for item in pane.read(cx).items_of_type::<SharedScreen>() {
|
||||||
// if item.read(cx).peer_id == peer_id {
|
// if item.read(cx).peer_id == peer_id {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue