Enable Channels for everyone
This commit is contained in:
parent
600b5c65e9
commit
97047ffaca
4 changed files with 99 additions and 119 deletions
|
@ -12,7 +12,6 @@ use std::{rc::Rc, sync::Arc};
|
|||
use call::{report_call_event_for_room, ActiveCall, Room};
|
||||
pub use collab_panel::CollabPanel;
|
||||
pub use collab_titlebar_item::CollabTitlebarItem;
|
||||
use feature_flags::{ChannelsAlpha, FeatureFlagAppExt};
|
||||
use gpui::{
|
||||
actions, point, AppContext, GlobalPixels, Pixels, PlatformDisplay, Size, Task, WindowBounds,
|
||||
WindowKind, WindowOptions,
|
||||
|
@ -126,7 +125,3 @@ fn notification_window_options(
|
|||
display_id: Some(screen.id()),
|
||||
}
|
||||
}
|
||||
|
||||
fn is_channels_feature_enabled(cx: &gpui::WindowContext<'_>) -> bool {
|
||||
cx.is_staff() || cx.has_flag::<ChannelsAlpha>()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue