9 lines
469 B
TypeScript
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;
|
|
}
|