decord/source/modules/channel/ChannelVisibilityUtils.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

21 lines
755 B
TypeScript

// Module ID: 10092
// Function ID: 10093
// Name: isChannelCurrentlyVisible
// Dependencies: [7280, 2011, 4381, 2]
// Exports: isChannelCurrentlyVisible
// Module 10092 (isChannelCurrentlyVisible)
import closure_0 from "toggleSection" /* 7280 */;
import closure_1 from "handleConnectionOpen" /* 2011 */;
import closure_2 from "handleConnectionOpen" /* 4381 */;
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;
};