Update BDFDB.js
This commit is contained in:
parent
4d51e2e821
commit
31f3e946f4
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue