decord/source/modules/private_channel_creation/maybeConvertPrivateChannel.tsx

26 lines
910 B
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 5988
2026-07-27 11:26:19 +00:00
// Function ID: 53263
2026-07-20 16:05:17 +00:00
// Name: maybeConvertPrivateChannel
2026-07-25 08:10:48 +00:00
// Dependencies: [1348, 5604, 4141, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-25 08:10:48 +00:00
// Module 5988 (maybeConvertPrivateChannel)
2026-07-23 10:11:24 +00:00
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
const require = arg1;
2026-07-25 08:10:48 +00:00
const result = require("module_4141").fileFinishedImporting("modules/private_channel_creation/maybeConvertPrivateChannel.tsx");
2026-07-20 16:05:17 +00:00
export default function maybeConvertPrivateChannel(channelId) {
2026-07-24 07:16:23 +00:00
if (channelId !== require(5604) /* FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID */.FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID) {
2026-07-20 16:05:17 +00:00
return null;
} else {
2026-07-23 10:11:24 +00:00
channel = channel.getChannel(channelId);
2026-07-20 16:05:17 +00:00
let ensurePrivateChannelResult = null;
if (null != channel) {
2026-07-25 08:10:48 +00:00
ensurePrivateChannelResult = importDefault(4141).ensurePrivateChannel(channel.recipients);
const obj = importDefault(4141);
2026-07-20 16:05:17 +00:00
}
return ensurePrivateChannelResult;
}
};