25 lines
878 B
TypeScript
25 lines
878 B
TypeScript
// Module ID: 7259
|
|
// Function ID: 7260
|
|
// Name: maybeConvertPrivateChannel
|
|
// Dependencies: [1391, 5883, 4355, 2]
|
|
// Exports: default
|
|
|
|
// Module 7259 (maybeConvertPrivateChannel)
|
|
import ensureGuildLoaded from "ensureGuildLoaded";
|
|
|
|
const require = arg1;
|
|
const result = require("module_4355").fileFinishedImporting("modules/private_channel_creation/maybeConvertPrivateChannel.tsx");
|
|
|
|
export default function maybeConvertPrivateChannel(arg0) {
|
|
if (arg0 !== require(5883) /* FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID */.FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID) {
|
|
return null;
|
|
} else {
|
|
channel = channel.getChannel(arg0);
|
|
let ensurePrivateChannelResult = null;
|
|
if (null != channel) {
|
|
ensurePrivateChannelResult = importDefault(4355).ensurePrivateChannel(channel.recipients);
|
|
const obj = importDefault(4355);
|
|
}
|
|
return ensurePrivateChannelResult;
|
|
}
|
|
};
|