decord/alpha/source/modules/threads/native/navigateToThreadCreation.tsx

25 lines
944 B
TypeScript
Raw Normal View History

2026-10-03 08:58:59 +00:00
// Module ID: 11019
// Function ID: 11020
2026-07-20 16:05:17 +00:00
// Name: navigateToThreadCreation
2026-10-03 08:58:59 +00:00
// Dependencies: [7261, 4736, 4901, 2]
2026-07-20 16:05:17 +00:00
// Exports: navigateToThreadCreation
2026-10-03 08:58:59 +00:00
// Module 11019 (navigateToThreadCreation)
import NavigationRouteUtils from "NavigationRouteUtils" /* 4736 */;
import ThreadActionCreatorsDefault from "ThreadActionCreators" /* 7261 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
2026-10-03 08:58:59 +00:00
let tmp3;
const transitionToChannel = tmp3(4901);
let result = size.fileFinishedImporting("modules/threads/native/navigateToThreadCreation.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export const navigateToThreadCreation = function navigateToThreadCreation(channel, Message) {
2026-10-03 08:58:59 +00:00
const obj = ThreadActionCreatorsDefault;
const result = obj.openThreadCreationForMobile(channel, undefined, Message);
const obj2 = NavigationRouteUtils;
2026-07-20 16:05:17 +00:00
if (!obj2.navigateToCreateThread(channel.guild_id, channel.id)) {
2026-08-24 06:08:38 +00:00
const tmp3Result = transitionToChannel;
2026-10-03 08:58:59 +00:00
tmp3Result.transitionToChannel(channel.id);
2026-07-20 16:05:17 +00:00
}
};