decord/source/modules/channel/ChannelVisibilityUtils.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

21 lines
755 B
TypeScript

// Module ID: 10087
// Function ID: 10088
// Name: isChannelCurrentlyVisible
// Dependencies: [7280, 2011, 4381, 2]
// Exports: isChannelCurrentlyVisible
// Module 10087 (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;
};