decord/alpha/source/modules/messages/native/openPinnedMessages.tsx
github-actions c6aa9eb120 chore: update source for alpha 349.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5030.js (118.4 MB)
2026-10-01 06:55:13 +00:00

21 lines
793 B
TypeScript

// Module ID: 11325
// Function ID: 11326
// Name: openPinnedMessages
// Dependencies: [10572, 4722, 2]
// Exports: default
// Module 11325 (openPinnedMessages)
import RootNavigationRef from "RootNavigationRef" /* 4722 */;
import ChannelDetailsConstants from "ChannelDetailsConstants" /* 10572 */;
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);
}
};