21 lines
774 B
TypeScript
21 lines
774 B
TypeScript
// Module ID: 10247
|
|
// Function ID: 10248
|
|
// Name: isChannelCurrentlyVisible
|
|
// Dependencies: [5872, 1931, 4006, 2]
|
|
// Exports: isChannelCurrentlyVisible
|
|
|
|
// Module 10247 (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;
|
|
};
|