2026-10-01 06:55:13 +00:00
|
|
|
// Module ID: 6920
|
|
|
|
|
// Function ID: 6921
|
2026-09-22 07:41:18 +00:00
|
|
|
// Name: isAccessibleNonStaticChannelPath
|
2026-10-01 06:55:13 +00:00
|
|
|
// Dependencies: [2099, 4999, 2]
|
2026-09-22 07:41:18 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-10-01 06:55:13 +00:00
|
|
|
// Module 6920 (isAccessibleNonStaticChannelPath)
|
|
|
|
|
import LinkUtils from "LinkUtils" /* 4999 */;
|
|
|
|
|
import GatedChannelStore from "GatedChannelStore" /* 2099 */;
|
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;
|
|
|
|
|
};
|