From 49931a23137bbcaddfb18963dd660c961cd1492a Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Mon, 9 Aug 2021 17:01:11 +0200 Subject: [PATCH] Update RemoveBlockedUsers.plugin.js --- .../RemoveBlockedUsers/RemoveBlockedUsers.plugin.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Plugins/RemoveBlockedUsers/RemoveBlockedUsers.plugin.js b/Plugins/RemoveBlockedUsers/RemoveBlockedUsers.plugin.js index e304f72e81..c9067cbb70 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.3.2 + * @version 1.3.3 * @description Removes blocked Messages/Users * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -17,13 +17,8 @@ module.exports = (_ => { "info": { "name": "RemoveBlockedUsers", "author": "DevilBro", - "version": "1.3.2", + "version": "1.3.3", "description": "Removes blocked Messages/Users" - }, - "changeLog": { - "fixed": { - "Voice Channels": "." - } } }; @@ -163,7 +158,7 @@ module.exports = (_ => { } }}); - false && BDFDB.PatchUtils.patch(this, BDFDB.LibraryModules.UnreadGuildUtils, "hasUnread", {after: e => { + BDFDB.PatchUtils.patch(this, BDFDB.LibraryModules.UnreadGuildUtils, "hasUnread", {after: e => { if (e.returnValue && this.settings.notifcations.messages) { return BDFDB.LibraryModules.GuildChannelStore.getChannels(e.methodArguments[0]).SELECTABLE.map(n => n.channel && n.channel.id).filter(n => n && n != "null").some(BDFDB.LibraryModules.UnreadChannelUtils.hasUnread); }