Update PinDMs.plugin.js
This commit is contained in:
parent
e04c0038d6
commit
afb30f014a
|
@ -2,7 +2,7 @@
|
||||||
* @name PinDMs
|
* @name PinDMs
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 1.9.7
|
* @version 1.9.8
|
||||||
* @description Allows you to pin DMs, making them appear at the top of your DMs/ServerList
|
* @description Allows you to pin DMs, making them appear at the top of your DMs/ServerList
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -903,8 +903,7 @@ module.exports = (_ => {
|
||||||
updateContainer (type) {
|
updateContainer (type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case "channelList":
|
case "channelList":
|
||||||
BDFDB.PatchUtils.forceAllUpdates(this, "PrivateChannelsList"); /* DOES NOT WORK */
|
this.forceUpdateAll();
|
||||||
if (!Object.keys(this.settings.preCategories).every(type => this.settings.preCategories[type].enabled) && BDFDB.ObjectUtils.isEmpty(this.getPinnedChannels(type))) this.forceUpdateAll();
|
|
||||||
break;
|
break;
|
||||||
case "guildList":
|
case "guildList":
|
||||||
BDFDB.DiscordUtils.rerenderAll(true);
|
BDFDB.DiscordUtils.rerenderAll(true);
|
||||||
|
|
Loading…
Reference in New Issue