Files
discord-decomp/sources/modules/user_profile/utils/getCurrentUserProfile.tsx
T
2026-07-27 16:20:00 +03:00

18 lines
1.3 KiB
TypeScript

/* Metro module 7612; source: modules/user_profile/utils/getCurrentUserProfile.tsx; dependencies: [1878, 5189, 2] */
function _fun60983(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60983, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7790:6, offset: 0x0171723d, size: 120 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
const userProfileStore = importDefault(5189) /* metro dependency 5189: UserProfileStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_profile/utils/getCurrentUserProfile.tsx');
exports.default = getCurrentUserProfile;
}
function getCurrentUserProfile(a0) { // fn#60984, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7790:212, offset: 0x017172b5, size: 82 bytes, params: 2, frame: 16
const currentUser = UserStore.getCurrentUser();
const value3 = null;
return value3 == currentUser ? value3 : value3 != a0 ? UserProfileStore.getGuildMemberProfile(currentUser.id,
a0) : UserProfileStore.getUserProfile(currentUser.id);
}