decord/source/modules/messages/native/openPinnedMessages.tsx
2026-08-26 06:04:24 +00:00

25 lines
883 B
TypeScript

// Module ID: 11238
// Function ID: 11239
// Name: openPinnedMessages
// Dependencies: [9886, 4299, 2]
// Exports: default
// Module 11238 (openPinnedMessages)
import set from "set" /* 2 */;
import getRootNavigationRef from "getRootNavigationRef" /* 4299 */;
import ChannelDetailsNavigatorScreens from "ChannelDetailsNavigatorScreens" /* 9886 */;
let closure_2 = ChannelDetailsNavigatorScreens.ChannelDetailsNavigatorScreens;
const result = set.fileFinishedImporting("modules/messages/native/openPinnedMessages.tsx");
export default function openPinnedMessages(arg0, arg1) {
let obj = getRootNavigationRef;
const rootNavigationRef = obj.getRootNavigationRef();
if (tmp) {
obj = { initialRouteName: null, channelId: null, source: null };
obj[0] = constants.PINNED_MESSAGES;
obj[1] = arg0;
obj[2] = arg1;
rootNavigationRef.navigate("sidebar", obj);
}
};