Enable Channels for everyone

This commit is contained in:
Conrad Irwin 2024-01-14 13:58:12 -07:00
parent 600b5c65e9
commit 97047ffaca
4 changed files with 99 additions and 119 deletions

View file

@ -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>()
}