Update PinDMs.plugin.js

This commit is contained in:
Mirco Wittrien 2023-07-25 15:34:46 +02:00 committed by GitHub
parent de5f28ca41
commit e6f2f4cfb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* @name PinDMs
* @author DevilBro
* @authorId 278543574059057154
* @version 1.9.9
* @version 2.0.0
* @description Allows you to pin DMs, making them appear at the top of your DMs/ServerList
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -906,7 +906,7 @@ module.exports = (_ => {
updateContainer (type) {
switch (type) {
case "channelList":
if (channelListIsRenderendering) BDFDB.DiscordUtils.rerenderAll(true);
if (!channelListIsRenderendering) BDFDB.DiscordUtils.rerenderAll(true);
channelListIsRenderendering = true;
BDFDB.TimeUtils.timeout(_ => channelListIsRenderendering = false, 3000);
break;
@ -1310,4 +1310,4 @@ module.exports = (_ => {
}
};
})(window.BDFDB_Global.PluginUtils.buildPlugin(changeLog));
})();
})();