2026-09-30 07:29:52 +00:00
|
|
|
// Module ID: 6929
|
|
|
|
|
// Function ID: 6930
|
2026-09-22 07:41:18 +00:00
|
|
|
// Name: isAccessibleNonStaticChannelPath
|
2026-09-30 07:29:52 +00:00
|
|
|
// Dependencies: [2100, 5020, 2]
|
2026-09-22 07:41:18 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-30 07:29:52 +00:00
|
|
|
// Module 6929 (isAccessibleNonStaticChannelPath)
|
|
|
|
|
import LinkUtils from "LinkUtils" /* 5020 */;
|
2026-09-26 08:31:33 +00:00
|
|
|
import GatedChannelStore from "GatedChannelStore" /* 2100 */;
|
2026-09-22 07:41:18 +00:00
|
|
|
|
|
|
|
|
require = fn;
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/links/isAccessibleNonStaticChannelPath.tsx");
|
|
|
|
|
|
|
|
|
|
export default function isAccessibleNonStaticChannelPath(guild_id) {
|
|
|
|
|
let canViewChannelResult = LinkUtils.canViewChannel(guild_id);
|
|
|
|
|
if (!canViewChannelResult) {
|
|
|
|
|
canViewChannelResult = GatedChannelStore.isChannelGatedAndVisible(guild_id.guild_id, guild_id.id);
|
|
|
|
|
}
|
|
|
|
|
return canViewChannelResult;
|
|
|
|
|
};
|