Update PinDMs.plugin.js
This commit is contained in:
parent
de5f28ca41
commit
e6f2f4cfb0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue