Files
discord-decomp/sources/modules/replies/PendingReplyActionCreators.tsx
T
2026-07-28 01:06:53 +03:00

35 lines
2.7 KiB
TypeScript

/* Metro module 11004; source: modules/replies/PendingReplyActionCreators.tsx; dependencies: [694, 2] */
import Dispatcher from '../../Dispatcher.tsx'; /* Metro dependency 694 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun84224(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#84224, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11190:6, offset: 0x01f40095, size: 138 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/replies/PendingReplyActionCreators.tsx');
exports.createPendingReply = createPendingReply;
exports.createShallowPendingReply = createShallowPendingReply;
exports.setPendingReplyShouldMention = setPendingReplyShouldMention;
exports.deletePendingReply = deletePendingReply;
function createPendingReply({message, channel, shouldMention, showMentionToggle, source, mediaMention}) { // fn#84225, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11190:193, offset: 0x01f4011f, size: 109 bytes, params: 2, frame: 19
Dispatcher.dispatch({type: 'CREATE_PENDING_REPLY', message: message, channel: channel, shouldMention: shouldMention,
showMentionToggle: showMentionToggle, source: source, mediaMention: mediaMention});
}
function createShallowPendingReply({messageId, channel, shouldMention, showMentionToggle}) { // fn#84226, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11190:461, offset: 0x01f4018c, size: 91 bytes, params: 2, frame: 16
return Dispatcher.dispatch({type: 'CREATE_SHALLOW_PENDING_REPLY', messageId: messageId, channel: channel,
shouldMention: shouldMention, showMentionToggle: showMentionToggle});
}
function setPendingReplyShouldMention(a0, a1) { // fn#84227, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11190:710, offset: 0x01f401e7, size: 63 bytes, params: 3, frame: 13
(Dispatcher).dispatch({type: 'SET_PENDING_REPLY_SHOULD_MENTION',
channelId: a0, shouldMention: a1});
}
function deletePendingReply(a0) { // fn#84228, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11190:863, offset: 0x01f40226, size: 55 bytes, params: 2, frame: 13
(Dispatcher).dispatch({type: 'DELETE_PENDING_REPLY', channelId: a0});
}
}
global.__d(_fun84224, 11004, [694, 2]) /* metro module 11004, dependencies: [694, 2] */;