Update BDFDB.js

This commit is contained in:
Mirco Wittrien 2020-01-31 10:41:46 +01:00
parent 4d51e2e821
commit 31f3e946f4
1 changed files with 3 additions and 3 deletions

View File

@ -9495,7 +9495,7 @@
V2C_ThemeCard: "render", V2C_ThemeCard: "render",
UserPopout: "componentDidMount", UserPopout: "componentDidMount",
UserProfile: "componentDidMount", UserProfile: "componentDidMount",
Message: ["componentDidMount","componentDidUpdate"] DiscordTag: "default"
} }
}; };
@ -9615,8 +9615,8 @@
BDFDBprocessFunctions.processUserProfile = function (e) { BDFDBprocessFunctions.processUserProfile = function (e) {
BDFDBprocessFunctions._processAvatar(e.instance.props.user, e.node.querySelector(BDFDB.dotCN.avatarwrapper)); BDFDBprocessFunctions._processAvatar(e.instance.props.user, e.node.querySelector(BDFDB.dotCN.avatarwrapper));
}; };
BDFDBprocessFunctions.processMessage = function (e) { BDFDBprocessFunctions.processDiscordTag = function (e) {
BDFDBprocessFunctions._processAvatar(e.instance.props.message.author, e.node.querySelector(BDFDB.dotCN.avatarwrapper)); if (e.instance && e.instance.props && e.instance.props.user && e.returnvalue) e.returnvalue.props.user = e.instance.props.user;
}; };
InternalBDFDB.patchPlugin(BDFDB); InternalBDFDB.patchPlugin(BDFDB);