decord/source/modules/channel/ChannelVisibilityUtils.tsx
2026-09-03 10:05:34 +00:00

21 lines
765 B
TypeScript

// Module ID: 10196
// Function ID: 10197
// Name: isChannelCurrentlyVisible
// Dependencies: [6136, 1980, 4299, 2]
// Exports: isChannelCurrentlyVisible
// Module 10196 (isChannelCurrentlyVisible)
import closure_0 from "handlePermissionsChange" /* 6136 */;
import closure_1 from "handleConnectionOpen" /* 1980 */;
import closure_2 from "handleConnectionOpen" /* 4299 */;
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;
};