decord/source/modules/channel/ChannelVisibilityUtils.tsx
2026-08-07 06:50:47 +00:00

21 lines
771 B
TypeScript

// Module ID: 9693
// Function ID: 9694
// Name: isChannelCurrentlyVisible
// Dependencies: [5838, 1960, 4118, 2]
// Exports: isChannelCurrentlyVisible
// Module 9693 (isChannelCurrentlyVisible)
import handlePermissionsChange from "handlePermissionsChange";
import handleConnectionOpen from "handleConnectionOpen";
import closure_2 from "handleConnectionOpen";
const result = require("handleConnectionOpen").fileFinishedImporting("modules/channel/ChannelVisibilityUtils.tsx");
export const isChannelCurrentlyVisible = function isChannelCurrentlyVisible(id) {
channelId = channelId.getChannelId(guildId.getGuildId());
let tmp2 = channelId === id;
if (!tmp2) {
tmp2 = currentSidebarChannelId.getCurrentSidebarChannelId(channelId) === id;
}
return tmp2;
};