decord/source/modules/channel/ChannelVisibilityUtils.tsx
2026-08-26 06:04:24 +00:00

21 lines
762 B
TypeScript

// Module ID: 9983
// Function ID: 9984
// Name: isChannelCurrentlyVisible
// Dependencies: [6071, 1981, 4266, 2]
// Exports: isChannelCurrentlyVisible
// Module 9983 (isChannelCurrentlyVisible)
import closure_0 from "handlePermissionsChange" /* 6071 */;
import closure_1 from "handleConnectionOpen" /* 1981 */;
import closure_2 from "handleConnectionOpen" /* 4266 */;
const result = require("set").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;
};