Update CustomQuoter.plugin.js

This commit is contained in:
Mirco Wittrien 2020-12-02 20:04:03 +01:00
parent 8a2cfb352b
commit 4e3e6191e0
1 changed files with 7 additions and 4 deletions

View File

@ -90,10 +90,13 @@ module.exports = (_ => {
channel_id: spoofChannel.id,
content: _this.parseQuote(spoofQuotedMessage, spoofChannel, this.props.format)
});
return BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.MessageGroup, {
className: BDFDB.disCNS.message + BDFDB.disCN.messagecozymessage,
message: spoofMessage,
channel: spoofChannel
return BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.messagepopout,
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.MessageGroup, {
disableInteraction: true,
message: spoofMessage,
channel: spoofChannel
})
});
}
};