Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,36 @@
|
||||
/* Metro module 9428; source: modules/game_console/trackVoiceCallTransfer.tsx; dependencies: [1379, 4294, 4296, 661, 683, 2] */
|
||||
function _fun73396(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#73396, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9614:6, offset: 0x01d6b254, size: 168 bytes, params: 8, frame: 19
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
|
||||
const rtcConnectionStore = importDefault(4294) /* metro dependency 4294: RTCConnectionStore */;
|
||||
const sessionsStore = importDefault(4296) /* metro dependency 4296: SessionsStore */;
|
||||
const env0_5 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_console/trackVoiceCallTransfer.tsx');
|
||||
exports.default = trackVoiceCallTransfer;
|
||||
}
|
||||
|
||||
function trackVoiceCallTransfer(a0, a1, a2) { // fn#73397, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9614:242, offset: 0x01d6b2fc, size: 182 bytes, params: 4, frame: 21
|
||||
var r8;
|
||||
var sessionById;
|
||||
const value2 = undefined;
|
||||
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
||||
const track = defaultImport.track;
|
||||
const VOICE_CALL_TRANSFER = AnalyticEvents.VOICE_CALL_TRANSFER;
|
||||
const object2 = {};
|
||||
if (a2 != null) {
|
||||
sessionById = SessionsStore.getSessionById(a2);
|
||||
r8 = sessionById == null ? value2 : sessionById.clientInfo.os;
|
||||
} else {
|
||||
r8 = 'discord_client';
|
||||
}
|
||||
object2.source_platform = r8;
|
||||
const channel = ChannelStore.getChannel(a0);
|
||||
object2.guild_id = channel == null ? value2 : channel.guild_id;
|
||||
object2.channel_id = a0;
|
||||
object2.rtc_connection_id = RTCConnectionStore.getRTCConnectionId();
|
||||
object2.target_platform = a1;
|
||||
Reflect.apply(track, defaultImport, [VOICE_CALL_TRANSFER, object2]);
|
||||
return value2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user