decord/source/modules/messages/native/openPinnedMessages.tsx
2026-09-02 09:53:35 +00:00

25 lines
885 B
TypeScript

// Module ID: 11426
// Function ID: 11427
// Name: openPinnedMessages
// Dependencies: [10875, 4333, 2]
// Exports: default
// Module 11426 (openPinnedMessages)
import set from "set" /* 2 */;
import getRootNavigationRef from "getRootNavigationRef" /* 4333 */;
import ChannelDetailsNavigatorScreens from "ChannelDetailsNavigatorScreens" /* 10875 */;
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);
}
};