diff --git a/Library/_res/0BDFDB.data.json b/Library/_res/0BDFDB.data.json index a703527f24..8a37233b39 100644 --- a/Library/_res/0BDFDB.data.json +++ b/Library/_res/0BDFDB.data.json @@ -477,7 +477,7 @@ "QuickSwitchUserResult": {"strings": ["getAccessibilityLabel", ".contentUnread", "getDisplayNickname"]}, "Reactions": {"strings": ["disableTransitionAppear", "reactionsCount:", "message.reactions.length"]}, "Reactor": {"strings": ["currentUser cannot be undefined", "reactorDefault"]}, - "ReactorsComponent": {"strings": ["hasMore", "emoji", "spinnerMore"]}, + "Reactors": {"strings": ["hasMore", "emoji", "spinnerMore"]}, "RecentMentions": {"strings": ["canCloseAllMessages", "RECENT_MENTIONS", "badgeable"]}, "RecentsChannelHeader": {"strings": [".subtextContainer", ".channelNameSpan", ".channelNameHeader", ".gotoChannel"]}, "RichChannelMention": {"strings": ["iconType:", "Messages.DELETED_CHANNEL_PLACEHOLDER"]}, diff --git a/Plugins/RemoveBlockedUsers/RemoveBlockedUsers.plugin.js b/Plugins/RemoveBlockedUsers/RemoveBlockedUsers.plugin.js index 27de4d06ca..df098db15e 100644 --- a/Plugins/RemoveBlockedUsers/RemoveBlockedUsers.plugin.js +++ b/Plugins/RemoveBlockedUsers/RemoveBlockedUsers.plugin.js @@ -2,7 +2,7 @@ * @name RemoveBlockedUsers * @author DevilBro * @authorId 278543574059057154 - * @version 1.5.9 + * @version 1.6.0 * @description Removes blocked Messages/Users * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -93,7 +93,7 @@ module.exports = (_ => { "Message", "Messages", "NowPlayingItem", - "ReactorsComponent", + "Reactors", "SearchResults", "UserSummaryItem", "VoiceUsers" @@ -350,7 +350,7 @@ module.exports = (_ => { if (!e.returnvalue.props.children[emojiArrayIndex].filter(n => n).length) return null; } - processReactorsComponent (e) { + processReactors (e) { if (this.settings.places.reactions && BDFDB.ArrayUtils.is(e.instance.props.reactors)) e.instance.props.reactors = e.instance.props.reactors.filter(n => !n || !BDFDB.LibraryStores.RelationshipStore.isBlocked(n.id)); } diff --git a/Plugins/RemoveNicknames/RemoveNicknames.plugin.js b/Plugins/RemoveNicknames/RemoveNicknames.plugin.js index b05a618173..9f5f1ec647 100644 --- a/Plugins/RemoveNicknames/RemoveNicknames.plugin.js +++ b/Plugins/RemoveNicknames/RemoveNicknames.plugin.js @@ -2,7 +2,7 @@ * @name RemoveNicknames * @author DevilBro * @authorId 278543574059057154 - * @version 1.4.2 + * @version 1.4.3 * @description Replaces Nicknames with Accountnames * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -172,7 +172,7 @@ module.exports = (_ => { let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["className", BDFDB.disCN.typingtext]]}); if (index > -1 && BDFDB.ArrayUtils.is(children[index].props.children)) for (let child of children[index].props.children) if (child.type == "strong") { let newName = this.getNewName(users.shift()); - if (newName) BDFDB.ReactUtils.setChild(child, newName); + if (newName) child.props.children = newName; } } }