stuff
This commit is contained in:
parent
541410c9ce
commit
c9ad6a5b96
|
@ -186,6 +186,7 @@
|
|||
"TimestampUtils": {"props": ["fromTimestamp", "extractTimestamp"]},
|
||||
"UploadUtils": {"props": ["upload", "instantBatchUpload"]},
|
||||
"URLParser": {"props": ["parse", "resolveObject"]},
|
||||
"UserNameUtils": {"props": ["getNickname", "getName", "useName"]},
|
||||
"UserProfileUtils": {"strings": ["USER_AGREEMENTS", "user cannot be undefined"], "exported": false, "value": "exports", "map": {
|
||||
"fetchProfile": [".apply("],
|
||||
"getUser": ["\"USER_UPDATE\""]
|
||||
|
@ -479,18 +480,18 @@
|
|||
"Status": [".mask,"],
|
||||
"Types": ["UNKNOWN", "INVISIBLE"]
|
||||
}},
|
||||
"StatusPickerPopout": {"strings": ["\"StatusPickerPopout\""], "value": "default"},
|
||||
"TextElement": {"strings": [".strong,", ".STANDARD"]},
|
||||
"Timeout": {"protos": ["start", "stop", "isStarted"]},
|
||||
"UserBadgeKeys": {"props": ["BadgeKeys"], "value": "BadgeKeys"},
|
||||
"UserBadges": {"props": ["BadgeSizes"]},
|
||||
"UserBadgeComponents": {"strings": [".PROFILE_USER_BADGES", "SIZE_24"], "exported": false, "value": "exports", "map": {
|
||||
"UserBadges": [".PROFILE_USER_BADGES"],
|
||||
"Sizes": ["\"SIZE_24\":"]
|
||||
}},
|
||||
"UserMention": {"strings": [".inlinePreview", "renderPopout", ".openContextMenu", ".isMobile"]},
|
||||
"UserPopout": {"name": "UserPopoutContainer"},
|
||||
"UserPopoutSection": {"name": "UserPopoutSection"},
|
||||
"UserSummaryItem": {"name": "UserSummaryItem"},
|
||||
"VideoForwardRef": {"strings": ["displayName=\"Video\"", "\"video\"", "HTMLImageElement"], "value": "default"},
|
||||
"VoiceSettingsConstants": {"props": ["MediaEngineContextTypes", "DEFAULT_VOLUME"]},
|
||||
"VolumeUtils": {"props": ["amplitudeToPerceptual", "perceptualToAmplitude"]}
|
||||
"VideoForwardRef": {"strings": ["displayName=\"Video\"", "\"video\"", "HTMLImageElement"], "value": "default"}
|
||||
},
|
||||
"SvgIcons": {
|
||||
"ACTIVITY": {
|
||||
|
|
|
@ -416,10 +416,10 @@ module.exports = (_ => {
|
|||
}
|
||||
}
|
||||
let member = guildId && BDFDB.LibraryStores.GuildMemberStore.getMember(guildId, user.id);
|
||||
return BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.UserBadges.default, {
|
||||
return BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.UserBadgeComponents.UserBadges, {
|
||||
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN._showbadgesinchatbadges, BDFDB.disCN[`_showbadgesinchatbadges${place.toLowerCase()}`]),
|
||||
user: user,
|
||||
size: BDFDB.LibraryComponents.UserBadges.BadgeSizes.SIZE_18,
|
||||
size: BDFDB.LibraryComponents.UserBadgeComponents.Sizes.SIZE_18,
|
||||
custom: true,
|
||||
place: place,
|
||||
premiumSince: loadedUsers[user.id] && loadedUsers[user.id].premium_since ? new Date(loadedUsers[user.id].premium_since) : (user.id == (specialFlag + "NITRO") ? new Date() : null),
|
||||
|
|
Loading…
Reference in New Issue