25 lines
910 B
TypeScript
25 lines
910 B
TypeScript
// Module ID: 6996
|
|
// Function ID: 55954
|
|
// Name: maybeConvertPrivateChannel
|
|
// Dependencies: [1348, 5604, 4140, 2]
|
|
// Exports: default
|
|
|
|
// Module 6996 (maybeConvertPrivateChannel)
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
const require = arg1;
|
|
const result = require("module_4140").fileFinishedImporting("modules/private_channel_creation/maybeConvertPrivateChannel.tsx");
|
|
|
|
export default function maybeConvertPrivateChannel(channelId) {
|
|
if (channelId !== require(5604) /* FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID */.FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID) {
|
|
return null;
|
|
} else {
|
|
channel = channel.getChannel(channelId);
|
|
let ensurePrivateChannelResult = null;
|
|
if (null != channel) {
|
|
ensurePrivateChannelResult = importDefault(4140).ensurePrivateChannel(channel.recipients);
|
|
const obj = importDefault(4140);
|
|
}
|
|
return ensurePrivateChannelResult;
|
|
}
|
|
};
|