Update PinDMs.plugin.js
This commit is contained in:
parent
b0126c9f8d
commit
45dd2d9e8f
|
@ -986,7 +986,7 @@ module.exports = (_ => {
|
|||
removePin (id, type) {
|
||||
if (!id) return;
|
||||
let newData = this.getPinnedChannels(type);
|
||||
delete newData[category.id];
|
||||
delete newData[id];
|
||||
this.savePinnedChannels(newData, type);
|
||||
this.updateContainer(type);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue