Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,20 @@
/* Metro module 12154; source: modules/channel/ChannelPinningExperiment.tsx; dependencies: [1854, 5102, 2] */
function _fun93226(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93226, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12340:6, offset: 0x020ab3cf, size: 168 bytes, params: 8, frame: 21
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = (require(1854) /* metro dependency 1854: apex */).createApexExperiment({'name': '2026-04-channel-pinning',
'kind': 'user', defaultConfig: {canPinEverywhere: false}, variations: {[1]: {canPinEverywhere: true}}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel/ChannelPinningExperiment.tsx');
exports.useCanPinChannelsInGuild = useCanPinChannelsInGuild;
}
function useCanPinChannelsInGuild(a0) { // fn#93227, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12340:351, offset: 0x020ab477, size: 102 bytes, params: 2, frame: 13
const value2 = (require(5102) /* metro dependency 5102: isOptInEnabled */).useOptInEnabledForGuild(a0);
const binding = env0_2;
const useConfig = binding.useConfig;
const canPinEverywhere = Reflect.apply(useConfig, binding,
[{location: 'useCanPinChannelsInGuild'}]).canPinEverywhere;
return {canPin: value2 || canPinEverywhere, pinningNewlyAvailable: !value2 && canPinEverywhere};
}