stuff
This commit is contained in:
parent
85aaf6fc87
commit
8a1fff02c7
|
@ -1625,6 +1625,7 @@
|
|||
|
||||
var LibraryModules = {};
|
||||
LibraryModules.AckUtils = BDFDB.ModuleUtils.findByProperties("localAck", "bulkAck");
|
||||
LibraryModules.ActivityUtils = BDFDB.ModuleUtils.findByProperties("sendActivityInvite", "updateActivity");
|
||||
LibraryModules.APIUtils = BDFDB.ModuleUtils.findByProperties("getAPIBaseURL");
|
||||
LibraryModules.AnalyticsUtils = BDFDB.ModuleUtils.findByProperties("isThrottled", "track");
|
||||
LibraryModules.AnimationUtils = BDFDB.ModuleUtils.findByProperties("spring", "decay");
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -269,7 +269,7 @@ var CreationDate = (_ => {
|
|||
}
|
||||
|
||||
processAnalyticsContext (e) {
|
||||
if (typeof e.returnvalue.props.children == "function" && e.instance.props.section == "Profile Modal" && settings.addInUserProfil) {
|
||||
if (typeof e.returnvalue.props.children == "function" && e.instance.props.section == BDFDB.DiscordConstants.AnalyticsSections.PROFILE_MODAL && settings.addInUserProfil) {
|
||||
let renderChildren = e.returnvalue.props.children;
|
||||
e.returnvalue.props.children = (...args) => {
|
||||
let renderedChildren = renderChildren(...args);
|
||||
|
|
|
@ -272,7 +272,7 @@ var JoinedAtDate = (_ => {
|
|||
}
|
||||
|
||||
processAnalyticsContext (e) {
|
||||
if (typeof e.returnvalue.props.children == "function" && e.instance.props.section == "Profile Modal" && settings.addInUserProfil) {
|
||||
if (typeof e.returnvalue.props.children == "function" && e.instance.props.section == BDFDB.DiscordConstants.AnalyticsSections.PROFILE_MODAL && settings.addInUserProfil) {
|
||||
let renderChildren = e.returnvalue.props.children;
|
||||
e.returnvalue.props.children = (...args) => {
|
||||
let renderedChildren = renderChildren(...args);
|
||||
|
|
|
@ -282,7 +282,7 @@ var LastMessageDate = (_ => {
|
|||
}
|
||||
|
||||
processAnalyticsContext (e) {
|
||||
if (typeof e.returnvalue.props.children == "function" && e.instance.props.section == "Profile Modal" && settings.addInUserProfil) {
|
||||
if (typeof e.returnvalue.props.children == "function" && e.instance.props.section == BDFDB.DiscordConstants.AnalyticsSections.PROFILE_MODAL && settings.addInUserProfil) {
|
||||
let renderChildren = e.returnvalue.props.children;
|
||||
e.returnvalue.props.children = (...args) => {
|
||||
let renderedChildren = renderChildren(...args);
|
||||
|
|
Loading…
Reference in New Issue