decord/source/modules/channel/ChannelVisibilityUtils.tsx
2026-08-05 07:35:12 +00:00

21 lines
771 B
TypeScript

// Module ID: 9646
// Function ID: 9647
// Name: isChannelCurrentlyVisible
// Dependencies: [5792, 1931, 4072, 2]
// Exports: isChannelCurrentlyVisible
// Module 9646 (isChannelCurrentlyVisible)
import handlePermissionsChange from "handlePermissionsChange";
import handleConnectionOpen from "handleConnectionOpen";
import closure_2 from "handleConnectionOpen";
const result = require("handleConnectionOpen").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;
};