From 60724e8bc758ba8e18e8cb1de394908d9429ee21 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 28 Feb 2019 10:09:28 +0100 Subject: [PATCH] Update PinDMs.plugin.js --- Plugins/PinDMs/PinDMs.plugin.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Plugins/PinDMs/PinDMs.plugin.js b/Plugins/PinDMs/PinDMs.plugin.js index 1b71aa4f8c..7a1e32fc9d 100644 --- a/Plugins/PinDMs/PinDMs.plugin.js +++ b/Plugins/PinDMs/PinDMs.plugin.js @@ -3,7 +3,7 @@ class PinDMs { getName () {return "PinDMs";} - getVersion () {return "1.3.4";} + getVersion () {return "1.3.5";} getAuthor () {return "DevilBro";} @@ -298,6 +298,7 @@ class PinDMs { BDFDB.closeContextMenu(target); BDFDB.removeEles(document.querySelector(`${BDFDB.dotCNS.dms + BDFDB.dotCN.guild}.pinned[channelid="${id}"]`)); this.unhideNativeDM(id); + BDFDB.removeData(id, this, "pinnedRecents"); this.updatePinnedPositions("pinnedRecents"); }); }