decord/source/modules/headless_tasks/android/DirectReply.tsx

54 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-08-06 08:05:19 +00:00
// Module ID: 16916
// Function ID: 16917
2026-07-20 16:05:17 +00:00
// Name: promise
2026-08-06 08:05:19 +00:00
// Dependencies: [5, 17, 4278, 3, 16910, 6838, 2]
2026-07-23 10:11:24 +00:00
2026-08-06 08:05:19 +00:00
// Module 16916 (promise)
2026-07-23 10:11:24 +00:00
import trackInvite from "trackInvite";
import { NativeModules } from "get ActivityIndicator";
import { MessageSendLocation } from "MESSAGE_GROUP_SPACING";
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
let c5 = new require("timestamp")("DirectReply");
let tmp = new require("timestamp")("DirectReply");
2026-07-23 10:11:24 +00:00
let result = require("MESSAGE_GROUP_SPACING").fileFinishedImporting("modules/headless_tasks/android/DirectReply.tsx");
2026-07-20 16:05:17 +00:00
export default (arg0) => {
2026-07-23 10:11:24 +00:00
let closure_0 = arg0;
2026-07-20 16:05:17 +00:00
return new Promise((arg0) => {
2026-07-23 10:11:24 +00:00
const lib = arg0;
outer1_5.log("Executing DirectReply");
2026-07-29 08:29:29 +00:00
let PushNotificationAndroid = outer1_3.PushNotificationAndroid;
let result = PushNotificationAndroid.markNotificationAsDirectReply(lib.channelId);
2026-07-23 10:11:24 +00:00
lib(outer1_1[4]).awaitStorage(() => {
2026-07-20 16:05:17 +00:00
function _sendMessage() {
2026-07-29 08:29:29 +00:00
const self = this;
const tmp = outer3_2((arg0) => {
let closure_0 = arg0;
let c3 = 0;
let c4 = 0;
2026-08-06 08:05:19 +00:00
return (/* F119778 */ function*() { ... })();
2026-07-29 08:29:29 +00:00
});
const _sendMessage = tmp;
const apply = tmp.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
outer2_5.log("Storage loaded");
(function sendMessage(closure_0) {
2026-07-29 08:29:29 +00:00
const self = this;
const apply = _sendMessage.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
2026-07-23 10:11:24 +00:00
})(closure_0);
2026-07-20 16:05:17 +00:00
});
});
};