2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 9737
|
2026-07-27 11:26:19 +00:00
|
|
|
// Function ID: 75842
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getCurrentUserProfile
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [1850, 5630, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 9737 (getCurrentUserProfile)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
|
import closure_1 from "_isNativeReflectConstruct";
|
|
|
|
|
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/user_profile/utils/getCurrentUserProfile.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function getCurrentUserProfile(arg0) {
|
|
|
|
|
let id = currentUser.getCurrentUser();
|
|
|
|
|
if (null == id) {
|
|
|
|
|
return null;
|
|
|
|
|
} else if (null != arg0) {
|
|
|
|
|
id = id.id;
|
|
|
|
|
let guildMemberProfile = authStore.getGuildMemberProfile(id, arg0);
|
|
|
|
|
} else {
|
|
|
|
|
guildMemberProfile = authStore.getUserProfile(id.id);
|
|
|
|
|
}
|
|
|
|
|
};
|