This commit is contained in:
Mirco Wittrien 2020-03-21 18:40:53 +01:00
parent c23471a781
commit 5109d8a5bf
2 changed files with 8 additions and 1 deletions

View File

@ -9057,6 +9057,13 @@
return settingspanel = BDFDB.PluginUtils.createSettingsPanel(BDFDB, settingsitems);
};
let MessageHeaderExport = BDFDB.ModuleUtils.findByProperties("MessageTimestamp", false);
if (MessageHeaderExport) InternalBDFDB.processMessage = function (e) {
if (BDFDB.ReactUtils.getValue(e, "instance.props.childrenHeader.type.type.name") && BDFDB.ReactUtils.getValue(e, "instance.props.childrenHeader.props.message")) {
e.instance.props.childrenHeader.type = MessageHeaderExport.exports.default;
}
};
const BDFDB_Patrons = [
"363785301195358221"

File diff suppressed because one or more lines are too long