From c9e24ab504ce3ba01f2f91054a23cc2e9a90d59a Mon Sep 17 00:00:00 2001 From: _Lighty_ Date: Tue, 31 Mar 2020 21:32:23 +0200 Subject: [PATCH] MAR v2.0.8 --- Plugins/MentionAliasesRedux/CHANGELOG.md | 3 +++ .../MentionAliasesRedux/MentionAliasesRedux.plugin.js | 11 ++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Plugins/MentionAliasesRedux/CHANGELOG.md b/Plugins/MentionAliasesRedux/CHANGELOG.md index 575b064..7e99ea6 100644 --- a/Plugins/MentionAliasesRedux/CHANGELOG.md +++ b/Plugins/MentionAliasesRedux/CHANGELOG.md @@ -1,4 +1,7 @@ # [MentionAliasesRedux](https://1lighty.github.io/BetterDiscordStuff/?plugin=MentionAliasesRedux "MentionAliasesRedux") Changelog +### 2.0.8 +- Temporarily disabled faulty patches + ### 2.0.7 - Fixed le crash diff --git a/Plugins/MentionAliasesRedux/MentionAliasesRedux.plugin.js b/Plugins/MentionAliasesRedux/MentionAliasesRedux.plugin.js index a84c4b1..c609160 100644 --- a/Plugins/MentionAliasesRedux/MentionAliasesRedux.plugin.js +++ b/Plugins/MentionAliasesRedux/MentionAliasesRedux.plugin.js @@ -41,16 +41,16 @@ var MentionAliasesRedux = (() => { twitter_username: '' } ], - version: '2.0.7', + version: '2.0.8', description: 'Set custom @mention aliases, that can also appear next to their name (nearly) anywhere, as well as have mention groups to mention multiple people at once.', github: 'https://github.com/1Lighty', github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/MentionAliasesRedux/MentionAliasesRedux.plugin.js' }, changelog: [ { - title: "bug b' gone", + title: 'sad', type: 'fixed', - items: ['Fixed le crash'] + items: ['Temporarily disabled faulty patches'] } ], defaultConfig: [ @@ -705,8 +705,8 @@ var MentionAliasesRedux = (() => { Utilities.suppressErrors(this.patchUserPopouts.bind(this), 'UserPopout patch')(this.promises.state); Utilities.suppressErrors(this.patchUserModals.bind(this), 'UserProfileBody patch')(this.promises.state); Utilities.suppressErrors(this.patchMemberListItem.bind(this), 'MemberListItem patch')(this.promises.state); - Utilities.suppressErrors(this.patchPrivateChannel.bind(this), 'PrivateChannel patch')(this.promises.state); - Utilities.suppressErrors(this.patchPeopleListItem.bind(this), 'FriendRow patch')(this.promises.state); + //Utilities.suppressErrors(this.patchPrivateChannel.bind(this), 'PrivateChannel patch')(this.promises.state); + //Utilities.suppressErrors(this.patchPeopleListItem.bind(this), 'FriendRow patch')(this.promises.state); Utilities.suppressErrors(this.patchMutualFriends.bind(this), 'MutualFriends patch')(this.promises.state); Utilities.suppressErrors(this.patchChannelTextArea.bind(this), 'ChannelTextArea patch')(this.promises.state); Utilities.suppressErrors(this.patchMessageUsername.bind(this), 'MessageUsername patch')(this.promises.state); @@ -789,6 +789,7 @@ var MentionAliasesRedux = (() => { const PrivateChannel = await ReactComponents.getComponentByName('PrivateChannel', `.${XenoLib.getSingleClass('closeButton channel', true)}`); if (promiseState.cancelled) return; const TypePatch = function(e) { + console.log(e); const ret = e.__oldTypeMA(e); const nameAndDecorators = Utilities.getNestedProp(ret, 'props.children.props.children.1.props.children.0.props.children'); if (!nameAndDecorators) return ret;