Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,74 @@
|
||||
/* Metro module 9738; source: modules/message_request/MessageRequestActionCreators.tsx; dependencies: [5, 661, 507, 9739, 694, 5076, 2] */
|
||||
function _fun76511(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76511, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9924:6, offset: 0x01dd1d48, size: 216 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(5) /* metro dependency 5 */;
|
||||
const env0_4 = (require(661) /* metro dependency 661: Constants */).Endpoints;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/message_request/MessageRequestActionCreators.tsx');
|
||||
exports.acceptMessageRequest = function() {
|
||||
return _acceptMessageRequest.apply(this, arguments);
|
||||
};
|
||||
exports.clearMessageRequestState = function(a0) {
|
||||
var HTTP = require(dependencyMap[2]).HTTP;
|
||||
var object = {};
|
||||
object.url = Endpoints.CHANNEL_RECIPIENT_ME(a0);
|
||||
object.body = {consent_status: require(dependencyMap[3]).MessageRequestConsentStatusTypes.UNSPECIFIED};
|
||||
object.rejectWithError = false;
|
||||
return HTTP.put(object);
|
||||
};
|
||||
exports.markAsMessageRequest = function(a0) {
|
||||
var HTTP = require(dependencyMap[2]).HTTP;
|
||||
var object = {};
|
||||
object.url = Endpoints.CHANNEL_RECIPIENT_ME(a0);
|
||||
object.body = {consent_status: require(dependencyMap[3]).MessageRequestConsentStatusTypes.PENDING};
|
||||
object.rejectWithError = false;
|
||||
return HTTP.put(object);
|
||||
};
|
||||
exports.rejectMessageRequest = function(a0) {
|
||||
var HTTP = require(dependencyMap[2]).HTTP;
|
||||
var object = {};
|
||||
object.url = Endpoints.CHANNEL_RECIPIENT_ME(a0);
|
||||
object.rejectWithError = false;
|
||||
return HTTP.del(object);
|
||||
};
|
||||
exports.rejectMessageRequestBatch = function(a0) {
|
||||
var HTTP = require(dependencyMap[2]).HTTP;
|
||||
var object = {};
|
||||
object.url = Endpoints.CHANNEL_RECIPIENT_REJECT_BATCH();
|
||||
object.body = {channel_ids: a0};
|
||||
object.rejectWithError = false;
|
||||
return HTTP.put(object);
|
||||
};
|
||||
exports.fetchUserCountryCode = fetchUserCountryCode;
|
||||
}
|
||||
|
||||
function _acceptMessageRequest() { // fn#76512, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9924:126, offset: 0x01dd1e20, size: 50 bytes, params: 1, frame: 14
|
||||
return env0_3(_fun76514).apply(this, arguments);
|
||||
}
|
||||
|
||||
function fetchUserCountryCode() { // fn#76520, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9924:1396, offset: 0x01dd2084, size: 37 bytes, params: 1, frame: 11
|
||||
(importDefault(5076) /* metro dependency 5076: AuthenticationActionCreators */).getLocationMetadata();
|
||||
}
|
||||
|
||||
function* _fun76514(a0) { // fn#76514, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9924:191, offset: 0x01dd1e5d, size: 179 bytes, params: 2, frame: 19
|
||||
if (true) {
|
||||
value = environment.__proto__.__proto__;
|
||||
var binding = env2_0;
|
||||
var binding2 = env2_2;
|
||||
var HTTP = binding(binding2[2]).HTTP;
|
||||
var put = HTTP.put;
|
||||
var object2 = {};
|
||||
object2.url = env2_4.CHANNEL_RECIPIENT_ME(a0);
|
||||
var MessageRequestConsentStatusTypes = binding(binding2[3]).MessageRequestConsentStatusTypes;
|
||||
var ACCEPTED = MessageRequestConsentStatusTypes.ACCEPTED;
|
||||
object2.body = {consent_status: ACCEPTED};
|
||||
object2.rejectWithError = false;
|
||||
yield Reflect.apply(put, HTTP, [object2]);
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
env2_1(env2_2[4]).dispatch({type: 'MESSAGE_REQUEST_ACCEPT_OPTIMISTIC', channelId: a0});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user