Files
discord-decomp/sources/modules/messages/VoiceChannelListInviteExperiment.tsx
T
2026-07-27 16:20:00 +03:00

22 lines
1.8 KiB
TypeScript

/* Metro module 9856; source: modules/messages/VoiceChannelListInviteExperiment.tsx; dependencies: [4620, 2] */
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 = (require(4620) /* metro dependency 4620: experiments */).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}}]});
(require(2) /* metro dependency 2 */).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});
}