Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,36 @@
|
||||
/* Metro module 12372; source: modules/read_states/trackAckMessages.tsx; dependencies: [1379, 5214, 1867, 4864, 661, 4863, 2] */
|
||||
function _fun94314(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#94314, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12558:6, offset: 0x021137cc, size: 184 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
|
||||
const guildReadStateStore = importDefault(5214) /* metro dependency 5214: GuildReadStateStore */;
|
||||
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
|
||||
const userGuildSettingsStore = importDefault(4864) /* metro dependency 4864: UserGuildSettingsStore */;
|
||||
const env0_6 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/read_states/trackAckMessages.tsx');
|
||||
exports.default = trackAckMessages;
|
||||
}
|
||||
|
||||
function trackAckMessages(a0, a1) { // fn#94315, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12558:245, offset: 0x02113884, size: 144 bytes, params: 3, frame: 18
|
||||
const channel = ChannelStore.getChannel(a0);
|
||||
const value3 = undefined;
|
||||
const appAnalyticsUtilsModule = require(4863) /* metro dependency 4863: AppAnalyticsUtils */;
|
||||
const trackWithMetadata = appAnalyticsUtilsModule.trackWithMetadata;
|
||||
const ACK_MESSAGES = AnalyticEvents.ACK_MESSAGES;
|
||||
const object2 = {channel_id: a0};
|
||||
object2.guild_id = channel == null ? value3 : channel.getGuildId();
|
||||
object2.location = a1;
|
||||
object2.guild_unread_statuses = GuildStore.getGuildsArray().map(_fun94316);
|
||||
Reflect.apply(trackWithMetadata, appAnalyticsUtilsModule, [ACK_MESSAGES, object2]);
|
||||
return value3;
|
||||
}
|
||||
|
||||
function _fun94316(a0) { // fn#94316, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12558:449, offset: 0x02113914, size: 117 bytes, params: 2, frame: 24
|
||||
const value = environment.__proto__;
|
||||
const hasUnread2 = GuildReadStateStore.hasUnread(a0.id);
|
||||
const getMentionCount = GuildReadStateStore.getMentionCount;
|
||||
return '' + a0.id + ',' + hasUnread2 + ',' + Reflect.apply(getMentionCount, GuildReadStateStore,
|
||||
[a0.id]) + ',' + UserGuildSettingsStore.isMuted(a0.id) + ',' + UserGuildSettingsStore.resolveGuildUnreadSetting(a0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user