2026-08-05 07:35:12 +00:00
|
|
|
// Module ID: 9646
|
|
|
|
|
// Function ID: 9647
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isChannelCurrentlyVisible
|
2026-08-05 07:35:12 +00:00
|
|
|
// Dependencies: [5792, 1931, 4072, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: isChannelCurrentlyVisible
|
|
|
|
|
|
2026-08-05 07:35:12 +00:00
|
|
|
// Module 9646 (isChannelCurrentlyVisible)
|
2026-07-29 08:29:29 +00:00
|
|
|
import handlePermissionsChange from "handlePermissionsChange";
|
|
|
|
|
import handleConnectionOpen from "handleConnectionOpen";
|
|
|
|
|
import closure_2 from "handleConnectionOpen";
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
const result = require("handleConnectionOpen").fileFinishedImporting("modules/channel/ChannelVisibilityUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const isChannelCurrentlyVisible = function isChannelCurrentlyVisible(id) {
|
2026-07-23 10:11:24 +00:00
|
|
|
channelId = channelId.getChannelId(guildId.getGuildId());
|
2026-07-20 16:05:17 +00:00
|
|
|
let tmp2 = channelId === id;
|
|
|
|
|
if (!tmp2) {
|
|
|
|
|
tmp2 = currentSidebarChannelId.getCurrentSidebarChannelId(channelId) === id;
|
|
|
|
|
}
|
|
|
|
|
return tmp2;
|
|
|
|
|
};
|