Files
discord-decomp/sources/modules/messages/VoiceChannelListInviteExperiment.tsx
T
2026-07-28 01:06:53 +03:00

26 lines
2.0 KiB
TypeScript

/* Metro module 9856; source: modules/messages/VoiceChannelListInviteExperiment.tsx; dependencies: [4620, 2] */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ExperimentsModule from '../experiments/index.tsx'; /* Metro dependency 4620 */
function _fun77271(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77271, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10042:6, offset: 0x01df78a8, size: 194 bytes, params: 8, frame: 22
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_0 = (ExperimentsModule).createExperiment({'kind': 'guild',
'id': '2026-05_voice_channel_list_invite_embed', 'label': 'Voice Channel List Invite Embed',
defaultConfig: {enabled: false}, treatments: [{'id': 1, 'label': 'Enable channel-list-style voice invite embed',
config: {enabled: true}}]});
(FileImportTrackerModule).fileFinishedImporting('modules/messages/VoiceChannelListInviteExperiment.tsx');
exports.getVoiceChannelListInviteExperiment = getVoiceChannelListInviteExperiment;
exports.useVoiceChannelListInviteExperiment = useVoiceChannelListInviteExperiment;
function getVoiceChannelListInviteExperiment({guildId, location}) { // fn#77272, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10042:469, offset: 0x01df796a, size: 43 bytes, params: 2, frame: 13
return env0_0.getCurrentConfig({guildId: guildId, location: location});
}
function useVoiceChannelListInviteExperiment({guildId, location}) { // fn#77273, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10042:627, offset: 0x01df7995, size: 43 bytes, params: 2, frame: 13
return env0_0.useExperiment({guildId: guildId, location: location});
}
}
global.__d(_fun77271, 9856, [4620, 2]) /* metro module 9856, dependencies: [4620, 2] */;