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

31 lines
2.3 KiB
TypeScript

/* Metro module 14866; source: modules/content_inventory/reactionUtils.tsx; dependencies: [7076, 7067, 2] */
import MessageActionCreators from '../../actions/MessageActionCreators.tsx'; /* Metro dependency 7067 */
import MessageParser from '../messages/MessageParser.tsx'; /* Metro dependency 7076 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun112449(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#112449, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15063:6, offset: 0x023cc04e, size: 114 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/content_inventory/reactionUtils.tsx');
exports.sendMessageWithEmbed = sendMessageWithEmbed;
exports.sendMessageWithoutContentInventoryEntry = sendMessageWithoutContentInventoryEntry;
function sendMessageWithEmbed({channel, content, entry, whenReady, doNotNotifyOnError, location}) { // fn#112450, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15063:192, offset: 0x023cc0c0, size: 132 bytes, params: 2, frame: 22
let value = MessageParser;
value = value.parse(channel, content);
const defaultImport = MessageActionCreators;
return defaultImport.sendMessage(channel.id, value, whenReady, {contentInventoryEntry: {unverified_content: entry},
doNotNotifyOnError: doNotNotifyOnError, location: location});
}
function sendMessageWithoutContentInventoryEntry({channel, content, whenReady, doNotNotifyOnError, location}) { // fn#112451, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15063:481, offset: 0x023cc144, size: 112 bytes, params: 2, frame: 21
let value = MessageParser;
value = value.parse(channel, content);
const defaultImport = MessageActionCreators;
return defaultImport.sendMessage(channel.id, value, whenReady, {doNotNotifyOnError: doNotNotifyOnError,
location: location});
}
}
global.__d(_fun112449, 14866, [7076, 7067, 2]) /* metro module 14866, dependencies: [7076, 7067, 2] */;