From fc073219f18dc1c85ead6c2712d6b45f92bc18d6 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Tue, 23 Nov 2021 11:40:58 +0100 Subject: [PATCH] Update DisplayServersAsChannels.plugin.js --- .../DisplayServersAsChannels.plugin.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Plugins/DisplayServersAsChannels/DisplayServersAsChannels.plugin.js b/Plugins/DisplayServersAsChannels/DisplayServersAsChannels.plugin.js index c31bb0f079..51b095c126 100644 --- a/Plugins/DisplayServersAsChannels/DisplayServersAsChannels.plugin.js +++ b/Plugins/DisplayServersAsChannels/DisplayServersAsChannels.plugin.js @@ -2,7 +2,7 @@ * @name DisplayServersAsChannels * @author DevilBro * @authorId 278543574059057154 - * @version 1.5.5 + * @version 1.5.6 * @description Displays Servers in a similar way as Channels * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -17,13 +17,8 @@ module.exports = (_ => { "info": { "name": "DisplayServersAsChannels", "author": "DevilBro", - "version": "1.5.5", + "version": "1.5.6", "description": "Displays Servers in a similar way as Channels" - }, - "changeLog": { - "fixed": { - "Server Changes": "Works again after Discords 100th Change for Servers" - } } }; @@ -105,7 +100,7 @@ module.exports = (_ => { BDFDB.DOMUtils.addClass(document.body, BDFDB.disCN._displayserversaschannelsstyled); BDFDB.PatchUtils.patch(this, BDFDB.LibraryComponents.GuildComponents.Guild.prototype, "render", {after: e => { - if (e.thisObject.props.list) this.processGuild({instance: e.thisObject, returnvalue: e.returnValue, methodname: "render"}); + if (e.thisObject.props.list) this.processGuildItem({instance: e.thisObject, returnvalue: e.returnValue, methodname: "render"}); }}); this.forceUpdateAll();