Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,25 @@
|
||||
/* Metro module 9084; source: modules/media_channel/MediaChannelExperimentUtils.tsx; dependencies: [661, 2] */
|
||||
function _fun70998(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#70998, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9269:6, offset: 0x01d118db, size: 109 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = (require(661) /* metro dependency 661: Constants */).GuildFeatures;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/media_channel/MediaChannelExperimentUtils.tsx');
|
||||
exports.useGuildEligibleForMediaChannels = useGuildEligibleForMediaChannels;
|
||||
}
|
||||
|
||||
function useGuildEligibleForMediaChannels(a0) { // fn#70999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9269:242, offset: 0x01d11948, size: 130 bytes, params: 2, frame: 13
|
||||
if (a0?.id == null) {
|
||||
return false;
|
||||
}
|
||||
const features = a0.features;
|
||||
let has = features.has;
|
||||
const CREATOR_MONETIZABLE = GuildFeatures.CREATOR_MONETIZABLE;
|
||||
let r0 = Reflect.apply(has, features,
|
||||
[CREATOR_MONETIZABLE]) || features.has(GuildFeatures.CREATOR_MONETIZABLE_PROVISIONAL);
|
||||
has = features.has;
|
||||
const COMMUNITY = GuildFeatures.COMMUNITY;
|
||||
r0 = r0 && Reflect.apply(has, features, [COMMUNITY]);
|
||||
r0 = !r0 ? features.has(GuildFeatures.INTERNAL_EMPLOYEE_ONLY) : r0;
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user