decord/beta/source/modules/messages/native/openPinnedMessages.tsx
github-actions 19e52f659f chore: update source for beta 347.11
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-26 17:57:22 +00:00

21 lines
793 B
TypeScript

// Module ID: 11897
// Function ID: 11898
// Name: openPinnedMessages
// Dependencies: [11209, 4646, 2]
// Exports: default
// Module 11897 (openPinnedMessages)
import RootNavigationRef from "RootNavigationRef" /* 4646 */;
import ChannelDetailsConstants from "ChannelDetailsConstants" /* 11209 */;
import size from "module_2" /* 2 */;
const constants = ChannelDetailsConstants.ChannelDetailsNavigatorScreens;
const result = size.fileFinishedImporting("modules/messages/native/openPinnedMessages.tsx");
export default function openPinnedMessages(channelId, source) {
const rootNavigationRef = RootNavigationRef.getRootNavigationRef();
if (tmp) {
const obj2 = { initialRouteName: constants.PINNED_MESSAGES, channelId, source };
rootNavigationRef.navigate("sidebar", obj2);
}
};