21 lines
765 B
TypeScript
21 lines
765 B
TypeScript
// Module ID: 10060
|
|
// Function ID: 10061
|
|
// Name: isChannelCurrentlyVisible
|
|
// Dependencies: [4975, 1980, 4201, 2]
|
|
// Exports: isChannelCurrentlyVisible
|
|
|
|
// Module 10060 (isChannelCurrentlyVisible)
|
|
import closure_0 from "handlePermissionsChange" /* 4975 */;
|
|
import closure_1 from "handleConnectionOpen" /* 1980 */;
|
|
import closure_2 from "handleConnectionOpen" /* 4201 */;
|
|
|
|
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;
|
|
};
|