2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 11746
|
|
|
|
|
// Function ID: 11747
|
2026-07-21 06:55:02 +00:00
|
|
|
// Name: openPinnedMessages
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [11047, 4495, 2]
|
2026-07-21 06:55:02 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 11746 (openPinnedMessages)
|
|
|
|
|
import RootNavigationRef from "RootNavigationRef" /* 4495 */;
|
|
|
|
|
import ChannelDetailsConstants from "ChannelDetailsConstants" /* 11047 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
|
};
|