Files
discord-decomp/modules/channel/ChannelVisibilityUtils.tsx
T
2026-11-01 12:12:55 +02:00

9 lines
469 B
TypeScript

// Metro module 10251 (f10252).
import ChannelSectionStore from "../../stores/ChannelSectionStore";
import SelectedChannelStore from "../../stores/SelectedChannelStore";
import SelectedGuildStore from "../../stores/SelectedGuildStore";
export function isChannelCurrentlyVisible(a0) {
const channelId = SelectedChannelStore.getChannelId(SelectedGuildStore.getGuildId());
return channelId === a0 || ChannelSectionStore.getCurrentSidebarChannelId(channelId) === a0;
}