Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2022-05-23 12:55:38 +02:00
parent 1df8819e8d
commit 1a4fa710a8
1 changed files with 5 additions and 0 deletions

View File

@ -8169,6 +8169,7 @@ module.exports = (_ => {
Menu: "default",
SettingsView: "componentDidMount",
Shakeable: "render",
Account: ["componentDidMount", "componentDidUpdate"],
Message: "default",
MessageToolbar: "type",
MessageHeader: "default",
@ -8232,6 +8233,10 @@ module.exports = (_ => {
if (index > -1) children[index] = BDFDB.ReactUtils.createElement(AppViewExport.exports.default, children[index].props);
};
Internal.processAccount = function (e) {
Internal._processAvatarMount(e.instance.props.currentUser, e.node.querySelector(BDFDB.dotCN.avatarwrapper), e.node);
};
Internal.processMessage = function (e) {
if (e.returnvalue && e.returnvalue.props && e.returnvalue.props.children && e.returnvalue.props.children.props) {
let message;