2026-10-09 10:00:15 +00:00
|
|
|
// Module ID: 7025
|
|
|
|
|
// Function ID: 7026
|
2026-09-22 07:41:18 +00:00
|
|
|
// Name: isAccessibleNonStaticChannelPath
|
2026-10-09 10:00:15 +00:00
|
|
|
// Dependencies: [2116, 5419, 2]
|
2026-09-22 07:41:18 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-10-09 10:00:15 +00:00
|
|
|
// Module 7025 (isAccessibleNonStaticChannelPath)
|
|
|
|
|
import LinkUtils from "LinkUtils" /* 5419 */;
|
2026-10-08 09:57:35 +00:00
|
|
|
import GatedChannelStore from "GatedChannelStore" /* 2116 */;
|
2026-10-03 08:58:59 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-09-22 07:41:18 +00:00
|
|
|
|
|
|
|
|
const result = size.fileFinishedImporting("modules/links/isAccessibleNonStaticChannelPath.tsx");
|
|
|
|
|
|
|
|
|
|
export default function isAccessibleNonStaticChannelPath(guild_id) {
|
2026-10-03 08:58:59 +00:00
|
|
|
const obj = LinkUtils;
|
|
|
|
|
const canViewChannelResult = obj.canViewChannel(guild_id) || GatedChannelStore.isChannelGatedAndVisible(guild_id.guild_id, guild_id.id);
|
2026-09-22 07:41:18 +00:00
|
|
|
return canViewChannelResult;
|
|
|
|
|
};
|