380 lines
21 KiB
TypeScript
380 lines
21 KiB
TypeScript
/* Metro module 8783; source: actions/RelationshipActionCreators.tsx; dependencies: [57, 1878, 661, 8784, 6722, 4647, 6595, 1244, 8785, 8786, 8787, 507, 3995, 4002, 694, 8789, 6264, 2] */
|
|
function _fun68665(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68665, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:6, offset: 0x01c586a1, size: 452 bytes, params: 8, frame: 19
|
|
var object3;
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_4 = importDefault(57) /* metro dependency 57 */;
|
|
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
|
|
const constantsModule = require(661) /* metro dependency 661: Constants */;
|
|
const env0_6 = constantsModule.Endpoints;
|
|
const env0_7 = constantsModule.AbortCodes;
|
|
const env0_8 = constantsModule.RelationshipTypes;
|
|
const env0_9 = (require(8784) /* metro dependency 8784: RelationshipConstants */).ClearFriendRequestFilters;
|
|
object3 = {SHOW_ALWAYS: 0};
|
|
object3[0] = 'SHOW_ALWAYS';
|
|
object3.SHOW_ONLY_IF_ACTION_NEEDED = 1;
|
|
object3[1] = 'SHOW_ONLY_IF_ACTION_NEEDED';
|
|
const object4 = {sendRequest: sendRequest_68669, addRelationship: addRelationship,
|
|
acceptFriendRequest: acceptFriendRequest, cancelFriendRequest: cancelFriendRequest, removeFriend: removeFriend,
|
|
blockUser: blockUser, unblockUser: unblockUser, removeRelationship: removeRelationship_68684,
|
|
updateRelationship: function(a0, a1) {
|
|
var HTTP = require(dependencyMap[11]).HTTP;
|
|
var object = {};
|
|
object.url = Endpoints.USER_RELATIONSHIP(a0);
|
|
object.body = {nickname: a1};
|
|
object.rejectWithError = false;
|
|
return HTTP.patch(object);
|
|
}, fetchRelationships: fetchRelationships, confirmClearPendingRelationships: confirmClearPendingRelationships,
|
|
clearPendingRelationships: clearPendingRelationships, clearPendingSpamAndIgnored: clearPendingSpamAndIgnored,
|
|
ignoreUser: ignoreUser, unignoreUser: unignoreUser};
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('actions/RelationshipActionCreators.tsx');
|
|
exports.default = object4;
|
|
exports.RelationshipErrorUXConfig = object3;
|
|
}
|
|
|
|
function showAlert(a0) { // fn#68666, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:213, offset: 0x01c58865, size: 67 bytes, params: 2, frame: 13
|
|
(require(6722) /* metro dependency 6722: ContextMenuActionCreators */).closeContextMenu();
|
|
(importDefault(4647) /* metro dependency 4647: AlertActionCreators */).show(a0);
|
|
}
|
|
|
|
function handleRelationshipAddError(a0, a1, a2) { // fn#68667, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:406, offset: 0x01c588a8, size: 843 bytes, params: 4, frame: 23
|
|
var r8;
|
|
var moduleValue;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
|
var moduleValue2;
|
|
var humanizeAbortCode;
|
|
var showAlertBinding;
|
|
var object2;
|
|
const status = a0.status;
|
|
const body = a0.body;
|
|
let r4 = body && body.code;
|
|
if (status === 429) {
|
|
if (a1 === env0_10.SHOW_ALWAYS) {
|
|
showAlertBinding = showAlert;
|
|
object2 = {};
|
|
object2.title = intl.string(t['3D5eox']);
|
|
object2.body = intl.string(t.TuJriJ);
|
|
object2.confirmText = intl.string(t.DppXIx);
|
|
showAlertBinding(object2);
|
|
}
|
|
} else if (status !== 403) {
|
|
if (r4 === AbortCodes.USER_QUARANTINED) {
|
|
(require(6722) /* metro dependency 6722: ContextMenuActionCreators */).closeContextMenu();
|
|
(importDefault(6595) /* metro dependency 6595: openQuarantineModeInfoModalNative */)();
|
|
} else {
|
|
moduleValue = require(8786) /* metro dependency 8786: UserLimitedAccessUtils */;
|
|
if (!moduleValue.isLimitedAccessErrorCode(status, r4)) {
|
|
if (r4 !== AbortCodes.RELATIONSHIP_INVALID_NO_CONFIRMATION) {
|
|
if (a1 === env0_10.SHOW_ALWAYS) {
|
|
if (a2 != null) {
|
|
moduleValue2 = require(8787) /* metro dependency 8787: FriendsUtils */;
|
|
humanizeAbortCode = moduleValue2.humanizeAbortCode;
|
|
r4 = !r4 ? 0 : r4;
|
|
r8 = Reflect.apply(humanizeAbortCode, moduleValue2, [r4, a2]);
|
|
} else {
|
|
r8 = intl.string(t.paDJBM);
|
|
}
|
|
showAlertBinding = showAlert;
|
|
object2 = {};
|
|
object2.title = intl.string(t['6moJ8s']);
|
|
object2.body = r8;
|
|
object2.confirmText = intl.string(t.BddRzS);
|
|
showAlertBinding(object2);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else if (r4 === AbortCodes.EMAIL_VERIFICATION_REQUIRED) {
|
|
showAlertBinding = showAlert;
|
|
object2 = {};
|
|
object2.title = intl.string(t.Gqf33E);
|
|
object2.body = intl.string(t.GHOBdx);
|
|
object2.confirmText = intl.string(t.HbTSE6);
|
|
object2.onConfirm = onConfirm;
|
|
showAlertBinding(object2);
|
|
} else if (r4 === AbortCodes.USER_QUARANTINED) {
|
|
(require(6722) /* metro dependency 6722: ContextMenuActionCreators */).closeContextMenu();
|
|
(importDefault(6595) /* metro dependency 6595: openQuarantineModeInfoModalNative */)();
|
|
} else {
|
|
moduleValue = require(8786) /* metro dependency 8786: UserLimitedAccessUtils */;
|
|
if (!moduleValue.isLimitedAccessErrorCode(status, r4)) {
|
|
if (r4 !== AbortCodes.RELATIONSHIP_INVALID_NO_CONFIRMATION) {
|
|
if (a1 === env0_10.SHOW_ALWAYS) {
|
|
if (a2 != null) {
|
|
moduleValue2 = require(8787) /* metro dependency 8787: FriendsUtils */;
|
|
humanizeAbortCode = moduleValue2.humanizeAbortCode;
|
|
r4 = !r4 ? 0 : r4;
|
|
r8 = Reflect.apply(humanizeAbortCode, moduleValue2, [r4, a2]);
|
|
} else {
|
|
r8 = intl.string(t.paDJBM);
|
|
}
|
|
showAlertBinding = showAlert;
|
|
object2 = {};
|
|
object2.title = intl.string(t['6moJ8s']);
|
|
object2.body = r8;
|
|
object2.confirmText = intl.string(t.BddRzS);
|
|
showAlertBinding(object2);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
throw a0;
|
|
}
|
|
|
|
function sendRequest_68669({discordTag, context, captchaPayload, note, errorUxConfig = env0_10.SHOW_ALWAYS}) { // fn#68669, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:1386, offset: 0x01c58c18, size: 241 bytes, params: 2, frame: 21
|
|
let value = discordTag.split('#');
|
|
value = env0_4(value, 2);
|
|
const property = value[0];
|
|
const property2 = value[1];
|
|
const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP;
|
|
const post = HTTP.post;
|
|
const object3 = {};
|
|
object3.url = Endpoints.USER_RELATIONSHIPS();
|
|
const object4 = {username: property};
|
|
object4.discriminator = global.parseInt(property2);
|
|
object4.note = note;
|
|
copyDataProperties(object4, captchaPayload, Endpoints);
|
|
object3.body = object4;
|
|
object3.context = context;
|
|
object3.oldFormErrors = true;
|
|
object3.rejectWithError = false;
|
|
return Reflect.apply(post, HTTP, [object3]).catch(_fun68670);
|
|
}
|
|
|
|
function addRelationship({userId, context, type, fromFriendSuggestion, confirmStrangerRequest, captchaPayload}, a1) { // fn#68671, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:1727, offset: 0x01c58d29, size: 242 bytes, params: 3, frame: 21
|
|
let value = a2;
|
|
const env0_0 = a1;
|
|
const env0_1 = value !== undefined ? value : env0_10.SHOW_ALWAYS;
|
|
const env0_2 = UserStore.getUser(userId);
|
|
const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP;
|
|
const put = HTTP.put;
|
|
const object3 = {};
|
|
object3.url = Endpoints.USER_RELATIONSHIP(userId);
|
|
const object4 = {type: type, from_friend_suggestion: fromFriendSuggestion,
|
|
confirm_stranger_request: confirmStrangerRequest};
|
|
copyDataProperties(object4, captchaPayload, userId);
|
|
object3.body = object4;
|
|
object3.context = context;
|
|
object3.oldFormErrors = true;
|
|
object3.rejectWithError = false;
|
|
value = Reflect.apply(put, HTTP, [object3]);
|
|
value = value.then(function() {
|
|
if (require != null) {
|
|
require();
|
|
}
|
|
});
|
|
return value.catch(_fun68673);
|
|
}
|
|
|
|
function acceptFriendRequest(a0) { // fn#68674, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:2181, offset: 0x01c58e6d, size: 33 bytes, params: 2, frame: 13
|
|
return env0_11.addRelationship(a0, function() {
|
|
var AccessibilityAnnouncer = require(dependencyMap[13]).AccessibilityAnnouncer;
|
|
AccessibilityAnnouncer.announce(require(dependencyMap[7]).intl.string(require(dependencyMap[7]).t['3goNa5']));
|
|
});
|
|
}
|
|
|
|
function cancelFriendRequest(a0, a1) { // fn#68676, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:2322, offset: 0x01c58eeb, size: 37 bytes, params: 3, frame: 15
|
|
return env0_11.removeRelationship(a0, a1, function() {
|
|
var AccessibilityAnnouncer = require(dependencyMap[13]).AccessibilityAnnouncer;
|
|
AccessibilityAnnouncer.announce(require(dependencyMap[7]).intl.string(require(dependencyMap[7]).t.pLUaxR));
|
|
});
|
|
}
|
|
|
|
function removeFriend(a0, a1) { // fn#68678, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:2449, offset: 0x01c58f6d, size: 39 bytes, params: 3, frame: 15
|
|
env0_11.removeRelationship(a0, a1, function() {
|
|
var AccessibilityAnnouncer = require(dependencyMap[13]).AccessibilityAnnouncer;
|
|
AccessibilityAnnouncer.announce(require(dependencyMap[7]).intl.string(require(dependencyMap[7]).t.vGSLa2));
|
|
});
|
|
}
|
|
|
|
function blockUser(a0, a1) { // fn#68680, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:2598, offset: 0x01c58ff1, size: 60 bytes, params: 3, frame: 14
|
|
const binding = env0_11;
|
|
const addRelationship = binding.addRelationship;
|
|
const BLOCKED = RelationshipTypes.BLOCKED;
|
|
return Reflect.apply(addRelationship, binding, [{userId: a0, context: a1, type: BLOCKED}, function() {
|
|
var AccessibilityAnnouncer = require(dependencyMap[13]).AccessibilityAnnouncer;
|
|
AccessibilityAnnouncer.announce(require(dependencyMap[7]).intl.string(require(dependencyMap[7]).t.mU0Vrp));
|
|
}]);
|
|
}
|
|
|
|
function unblockUser(a0, a1) { // fn#68682, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:2766, offset: 0x01c5908a, size: 37 bytes, params: 3, frame: 15
|
|
return env0_11.removeRelationship(a0, a1, function() {
|
|
var AccessibilityAnnouncer = require(dependencyMap[13]).AccessibilityAnnouncer;
|
|
AccessibilityAnnouncer.announce(require(dependencyMap[7]).intl.string(require(dependencyMap[7]).t['9t1au7']));
|
|
});
|
|
}
|
|
|
|
function removeRelationship_68684(a0, a1, a2) { // fn#68684, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:2915, offset: 0x01c5910c, size: 131 bytes, params: 4, frame: 15
|
|
const env0_0 = a2;
|
|
const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP;
|
|
const del = HTTP.del;
|
|
const object2 = {};
|
|
object2.url = Endpoints.USER_RELATIONSHIP(a0);
|
|
object2.context = a1;
|
|
object2.oldFormErrors = true;
|
|
object2.rejectWithError = false;
|
|
let value = Reflect.apply(del, HTTP, [object2]);
|
|
value = value.then(function() {
|
|
if (importDefault != null) {
|
|
importDefault();
|
|
}
|
|
});
|
|
return value.catch(function() {
|
|
var AccessibilityAnnouncer = require(dependencyMap[13]).AccessibilityAnnouncer;
|
|
AccessibilityAnnouncer.announce(require(dependencyMap[7]).intl.string(require(dependencyMap[7]).t.n6Jo3E));
|
|
});
|
|
}
|
|
|
|
function fetchRelationships() { // fn#68688, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:3253, offset: 0x01c59241, size: 99 bytes, params: 1, frame: 16
|
|
const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP;
|
|
const get = HTTP.get;
|
|
const object2 = {'url': null, 'oldFormErrors': true, 'rejectWithError': true};
|
|
object2.url = Endpoints.USER_RELATIONSHIPS();
|
|
Reflect.apply(get, HTTP, [object2]).then(_fun68689, _fun68690);
|
|
}
|
|
|
|
function confirmClearPendingRelationships(a0) { // fn#68691, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:3507, offset: 0x01c59313, size: 35 bytes, params: 2, frame: 11
|
|
(importDefault(8789) /* metro dependency 8789: ClearAllIncomingRequestsConfirmationModal */)(a0);
|
|
}
|
|
|
|
function clearPendingRelationships() { // fn#68692, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:3582, offset: 0x01c59336, size: 128 bytes, params: 1, frame: 15
|
|
const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP;
|
|
const del = HTTP.del;
|
|
const object2 = {};
|
|
object2.url = Endpoints.USER_RELATIONSHIPS();
|
|
const PENDING_INCOMING = RelationshipTypes.PENDING_INCOMING;
|
|
object2.query = {relationship_type: PENDING_INCOMING};
|
|
object2.rejectWithError = false;
|
|
let value = Reflect.apply(del, HTTP, [object2]);
|
|
value = value.then(_fun68693);
|
|
return value.catch(function() {
|
|
var AccessibilityAnnouncer = require(dependencyMap[13]).AccessibilityAnnouncer;
|
|
AccessibilityAnnouncer.announce(require(dependencyMap[7]).intl.string(require(dependencyMap[7]).t.n6Jo3E));
|
|
});
|
|
}
|
|
|
|
function clearPendingSpamAndIgnored() { // fn#68695, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:3900, offset: 0x01c593e7, size: 167 bytes, params: 1, frame: 16
|
|
const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP;
|
|
const del = HTTP.del;
|
|
const object2 = {};
|
|
object2.url = Endpoints.USER_RELATIONSHIPS();
|
|
const PENDING_INCOMING = RelationshipTypes.PENDING_INCOMING;
|
|
object2.query = {relationship_type: PENDING_INCOMING};
|
|
const SPAM = ClearFriendRequestFilters.SPAM;
|
|
const IGNORED = ClearFriendRequestFilters.IGNORED;
|
|
object2.body = {filters: [SPAM, IGNORED]};
|
|
object2.rejectWithError = false;
|
|
let value = Reflect.apply(del, HTTP, [object2]);
|
|
value = value.then(_fun68696);
|
|
return value.catch(function() {
|
|
var AccessibilityAnnouncer = require(dependencyMap[13]).AccessibilityAnnouncer;
|
|
AccessibilityAnnouncer.announce(require(dependencyMap[7]).intl.string(require(dependencyMap[7]).t.n6Jo3E));
|
|
});
|
|
}
|
|
|
|
function ignoreUser(a0, a1, a2) { // fn#68698, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:4236, offset: 0x01c5948e, size: 134 bytes, params: 4, frame: 15
|
|
const env0_0 = a0;
|
|
const env0_1 = a2;
|
|
const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP;
|
|
const put = HTTP.put;
|
|
const object2 = {};
|
|
object2.url = Endpoints.IGNORE_USER(a0);
|
|
object2.context = {location: a1};
|
|
object2.rejectWithError = false;
|
|
let value = Reflect.apply(put, HTTP, [object2]);
|
|
value = value.then(_fun68699);
|
|
return value.catch(function() {
|
|
importDefault(dependencyMap[16]).showFailedToast();
|
|
var AccessibilityAnnouncer = require(dependencyMap[13]).AccessibilityAnnouncer;
|
|
AccessibilityAnnouncer.announce(require(dependencyMap[7]).intl.string(require(dependencyMap[7]).t.n6Jo3E));
|
|
});
|
|
}
|
|
|
|
function unignoreUser(a0, a1, a2) { // fn#68701, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:4684, offset: 0x01c59649, size: 134 bytes, params: 4, frame: 15
|
|
const env0_0 = a0;
|
|
const env0_1 = a2;
|
|
const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP;
|
|
const del = HTTP.del;
|
|
const object2 = {};
|
|
object2.url = Endpoints.IGNORE_USER(a0);
|
|
object2.context = {location: a1};
|
|
object2.rejectWithError = false;
|
|
let value = Reflect.apply(del, HTTP, [object2]);
|
|
value = value.then(_fun68702);
|
|
return value.catch(function() {
|
|
importDefault(dependencyMap[16]).showFailedToast();
|
|
var AccessibilityAnnouncer = require(dependencyMap[13]).AccessibilityAnnouncer;
|
|
AccessibilityAnnouncer.announce(require(dependencyMap[7]).intl.string(require(dependencyMap[7]).t.n6Jo3E));
|
|
});
|
|
}
|
|
|
|
function handleRelationshipAddErrorOnConfirm() { // fn#68668, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:887, owner: handleRelationshipAddError.onConfirm, offset: 0x01c58bf3, size: 37 bytes, params: 1, frame: 11
|
|
const value = environment.__proto__;
|
|
(importAll(8785) /* metro dependency 8785: ClaimAccountModalActionCreatorsNative */).openClaimAccountModal();
|
|
}
|
|
|
|
function _fun68670(a0) { // fn#68670, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:1685, offset: 0x01c58d09, size: 32 bytes, params: 2, frame: 15
|
|
handleRelationshipAddError(a0, env0_1, discordTag);
|
|
}
|
|
|
|
function _fun68673(a0) { // fn#68673, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:2080, offset: 0x01c58e1b, size: 82 bytes, params: 2, frame: 17
|
|
let value = environment.__proto__;
|
|
const handleRelationshipAddErrorBinding = handleRelationshipAddError;
|
|
const binding = env0_1;
|
|
value = importDefault(3995) /* metro dependency 3995: UserUtils */;
|
|
const getUserTag = value.getUserTag;
|
|
handleRelationshipAddErrorBinding(a0, binding, Reflect.apply(getUserTag, value, [env0_2]));
|
|
const Promise = global.Promise;
|
|
return Promise.reject(a0);
|
|
}
|
|
|
|
function _fun68689({body}) { // fn#68689, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:3364, offset: 0x01c592a4, size: 62 bytes, params: 2, frame: 12
|
|
const value = environment.__proto__;
|
|
return (importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'LOAD_RELATIONSHIPS_SUCCESS',
|
|
relationships: body});
|
|
}
|
|
|
|
function _fun68690() { // fn#68690, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:3445, offset: 0x01c592e2, size: 49 bytes, params: 1, frame: 12
|
|
const value = environment.__proto__;
|
|
return (importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'LOAD_RELATIONSHIPS_FAILURE'});
|
|
}
|
|
|
|
function _fun68693() { // fn#68693, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:3704, offset: 0x01c593b6, size: 49 bytes, params: 1, frame: 13
|
|
const value = environment.__proto__;
|
|
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'RELATIONSHIP_PENDING_INCOMING_REMOVED'});
|
|
}
|
|
|
|
function _fun68699() { // fn#68699, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:4333, offset: 0x01c59514, size: 192 bytes, params: 1, frame: 19
|
|
let value = environment.__proto__;
|
|
const defaultImport = importDefault(6264) /* metro dependency 6264: SafetyToastsActionCreatorsNative */;
|
|
const showIgnoreSuccessToast = defaultImport.showIgnoreSuccessToast;
|
|
const binding = env0_0;
|
|
Reflect.apply(showIgnoreSuccessToast, defaultImport, [binding, importDefault]);
|
|
const AccessibilityAnnouncer = (require(4002) /* metro dependency 4002: shared */).AccessibilityAnnouncer;
|
|
const announce = AccessibilityAnnouncer.announce;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const string = intl.string;
|
|
const Us93Ca = (require(1244) /* metro dependency 1244: indexNative */).t.Us93Ca;
|
|
Reflect.apply(announce, AccessibilityAnnouncer, [Reflect.apply(string, intl, [Us93Ca])]);
|
|
value = importDefault(694) /* metro dependency 694: Dispatcher */;
|
|
const dispatch = value.dispatch;
|
|
const object2 = {type: 'RELATIONSHIP_IGNORE_USER_SUCCESS', userId: binding};
|
|
const Date = global.Date;
|
|
object2.timestamp = Date.now();
|
|
Reflect.apply(dispatch, value, [object2]);
|
|
}
|
|
|
|
function _fun68702() { // fn#68702, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8968:4781, offset: 0x01c596cf, size: 132 bytes, params: 1, frame: 17
|
|
const defaultImport = importDefault(6264) /* metro dependency 6264: SafetyToastsActionCreatorsNative */;
|
|
defaultImport.showUnignoreSuccessToast(env0_0, importDefault);
|
|
const AccessibilityAnnouncer = (require(4002) /* metro dependency 4002: shared */).AccessibilityAnnouncer;
|
|
const announce = AccessibilityAnnouncer.announce;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const string = intl.string;
|
|
const QlH5w6 = (require(1244) /* metro dependency 1244: indexNative */).t.QlH5w6;
|
|
Reflect.apply(announce, AccessibilityAnnouncer, [Reflect.apply(string, intl, [QlH5w6])]);
|
|
}
|
|
|