decord/source/modules/channel/ChannelVisibilityUtils.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

21 lines
765 B
TypeScript

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