diff --git a/Plugins/QuickMention/QuickMention.plugin.js b/Plugins/QuickMention/QuickMention.plugin.js index db55757f21..7cbb694a9b 100644 --- a/Plugins/QuickMention/QuickMention.plugin.js +++ b/Plugins/QuickMention/QuickMention.plugin.js @@ -5,7 +5,7 @@ module.exports = (_ => { "info": { "name": "QuickMention", "author": "DevilBro", - "version": "1.0.1", + "version": "1.0.2", "description": "Adds a mention entry to the message option toolbar." } }; @@ -45,7 +45,7 @@ module.exports = (_ => { onStop() {} onMessageOptionToolbar (e) { - if (!e.instance.props.expanded && e.instance.props.message.author.id != BDFDB.UserUtils.me.id && e.instance.props.message.type == BDFDB.DiscordConstants.MessageTypes.DEFAULT && (BDFDB.UserUtils.can("SEND_MESSAGES") || e.instance.props.channel.type == BDFDB.DiscordConstants.ChannelTypes.DM || e.instance.props.channel.type == BDFDB.DiscordConstants.ChannelTypes.GROUP_DM)) e.returnvalue.props.children.unshift(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, { + if (!e.instance.props.expanded && e.instance.props.message.author.id != BDFDB.UserUtils.me.id && (BDFDB.UserUtils.can("SEND_MESSAGES") || e.instance.props.channel.type == BDFDB.DiscordConstants.ChannelTypes.DM || e.instance.props.channel.type == BDFDB.DiscordConstants.ChannelTypes.GROUP_DM)) e.returnvalue.props.children.unshift(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, { key: "mention", text: BDFDB.LanguageUtils.LanguageStrings.MENTION, children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Clickable, { @@ -57,7 +57,6 @@ module.exports = (_ => { }, children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, { className: BDFDB.disCN.messagetoolbaricon, - nativeClass: true, name: BDFDB.LibraryComponents.SvgIcon.Names.NOVA_AT }) })