// Module ID: 7874 // Function ID: 7875 // Name: maybeConvertPrivateChannel // Dependencies: [1958, 7335, 4653, 2] // Exports: default // Module 7874 (maybeConvertPrivateChannel) import ChannelActionCreatorsDefault from "ChannelActionCreators" /* 4653 */; import FakePlaceholderPrivateChannel from "FakePlaceholderPrivateChannel" /* 7335 */; import ChannelStore from "ChannelStore" /* 1958 */; require = fn; const size = fn(2); const result = size.fileFinishedImporting("modules/private_channel_creation/maybeConvertPrivateChannel.tsx"); export default function maybeConvertPrivateChannel(arg0) { if (arg0 !== FakePlaceholderPrivateChannel.FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID) { return null; } else { const channel = ChannelStore.getChannel(arg0); let ensurePrivateChannelResult = null; if (null != channel) { ensurePrivateChannelResult = ChannelActionCreatorsDefault.ensurePrivateChannel(channel.recipients); } return ensurePrivateChannelResult; } };