2026-09-10 05:38:07 +00:00
|
|
|
// Module ID: 11648
|
|
|
|
|
// Function ID: 11649
|
2026-07-21 06:55:02 +00:00
|
|
|
// Name: openPinnedMessages
|
2026-09-10 05:38:07 +00:00
|
|
|
// Dependencies: [10948, 4432, 2]
|
2026-07-21 06:55:02 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
// Module 11648 (openPinnedMessages)
|
|
|
|
|
import RootNavigationRef from "RootNavigationRef" /* 4432 */;
|
|
|
|
|
import ChannelDetailsConstants from "ChannelDetailsConstants" /* 10948 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const constants = ChannelDetailsConstants.ChannelDetailsNavigatorScreens;
|
|
|
|
|
const result = size.fileFinishedImporting("modules/messages/native/openPinnedMessages.tsx");
|
2026-07-21 06:55:02 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export default function openPinnedMessages(channelId, source) {
|
|
|
|
|
const rootNavigationRef = RootNavigationRef.getRootNavigationRef();
|
2026-07-21 06:55:02 +00:00
|
|
|
if (tmp) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj2 = { initialRouteName: constants.PINNED_MESSAGES, channelId, source };
|
|
|
|
|
rootNavigationRef.navigate("sidebar", obj2);
|
2026-07-21 06:55:02 +00:00
|
|
|
}
|
|
|
|
|
};
|