Remove call -> channel dependency
This commit is contained in:
parent
17925ed563
commit
3412bb75be
3 changed files with 1 additions and 4 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -1082,7 +1082,6 @@ dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-broadcast",
|
"async-broadcast",
|
||||||
"audio",
|
"audio",
|
||||||
"channel",
|
|
||||||
"client",
|
"client",
|
||||||
"collections",
|
"collections",
|
||||||
"fs",
|
"fs",
|
||||||
|
|
|
@ -20,7 +20,6 @@ test-support = [
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
audio = { path = "../audio" }
|
audio = { path = "../audio" }
|
||||||
channel = { path = "../channel" }
|
|
||||||
client = { path = "../client" }
|
client = { path = "../client" }
|
||||||
collections = { path = "../collections" }
|
collections = { path = "../collections" }
|
||||||
gpui = { path = "../gpui" }
|
gpui = { path = "../gpui" }
|
||||||
|
|
|
@ -5,7 +5,6 @@ pub mod room;
|
||||||
use anyhow::{anyhow, Result};
|
use anyhow::{anyhow, Result};
|
||||||
use audio::Audio;
|
use audio::Audio;
|
||||||
use call_settings::CallSettings;
|
use call_settings::CallSettings;
|
||||||
use channel::ChannelId;
|
|
||||||
use client::{
|
use client::{
|
||||||
proto, ClickhouseEvent, Client, TelemetrySettings, TypedEnvelope, User, UserStore,
|
proto, ClickhouseEvent, Client, TelemetrySettings, TypedEnvelope, User, UserStore,
|
||||||
ZED_ALWAYS_ACTIVE,
|
ZED_ALWAYS_ACTIVE,
|
||||||
|
@ -79,7 +78,7 @@ impl ActiveCall {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn channel_id(&self, cx: &AppContext) -> Option<ChannelId> {
|
pub fn channel_id(&self, cx: &AppContext) -> Option<u64> {
|
||||||
self.room()?.read(cx).channel_id()
|
self.room()?.read(cx).channel_id()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue