Update PinDMs.plugin.js

This commit is contained in:
Mirco Wittrien 2021-04-22 22:11:35 +02:00 committed by GitHub
parent b0126c9f8d
commit 45dd2d9e8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}