This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,11 @@
// Metro module 6040 (f6041).
import ChannelStore from "../../stores/ChannelStore";
import { FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID } from "../channel/FakePlaceholderPrivateChannel";
import ChannelActionCreators from "../../actions/ChannelActionCreators";
export default function maybeConvertPrivateChannel(a0) {
if (a0 !== FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID) {
return null;
}
const channel = ChannelStore.getChannel(a0);
return channel != null ? ChannelActionCreators.ensurePrivateChannel(channel.recipients) : null;
};