decord/source/modules/private_channel_creation/maybeConvertPrivateChannel.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

27 lines
979 B
TypeScript

// Module ID: 7754
// Function ID: 7755
// Name: maybeConvertPrivateChannel
// Dependencies: [1957, 7221, 4573, 2]
// Exports: default
// Module 7754 (maybeConvertPrivateChannel)
import _modDef4573 from "module_4573" /* 4573 */;
import FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID from "FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID" /* 7221 */;
import closure_3 from "ensureGuildLoaded" /* 1957 */;
require = arg1;
const result = require("set").fileFinishedImporting("modules/private_channel_creation/maybeConvertPrivateChannel.tsx");
export default function maybeConvertPrivateChannel(arg0) {
if (arg0 !== FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID.FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID) {
return null;
} else {
channel = channel.getChannel(arg0);
let ensurePrivateChannelResult = null;
if (null != channel) {
ensurePrivateChannelResult = _modDef4573.ensurePrivateChannel(channel.recipients);
const obj = _modDef4573;
}
return ensurePrivateChannelResult;
}
};