decord/source/modules/channel/ChannelVisibilityUtils.tsx
2026-08-13 07:00:46 +00:00

21 lines
771 B
TypeScript

// Module ID: 9810
// Function ID: 9811
// Name: isChannelCurrentlyVisible
// Dependencies: [5939, 1979, 4165, 2]
// Exports: isChannelCurrentlyVisible
// Module 9810 (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;
};