diff --git a/Plugins/PinDMs/PinDMs.plugin.js b/Plugins/PinDMs/PinDMs.plugin.js index 6f04645d47..8e2f7f7e9c 100644 --- a/Plugins/PinDMs/PinDMs.plugin.js +++ b/Plugins/PinDMs/PinDMs.plugin.js @@ -80,12 +80,12 @@ class PinDMs {
- + - + @@ -120,12 +120,10 @@ class PinDMs {
- + - - - +
@@ -549,6 +547,8 @@ class PinDMs { let info = this.ChannelUtils.getChannel(id); if (info) { let dmdiv = BDFDB.htmlToElement(this.recentDMMarkup); + dmdiv.querySelector("mask").setAttribute("id", "PINDMS" + id); + dmdiv.querySelector("foreignObject").setAttribute("mask", "url(#PINDMS" + id + ")"); let user = info.type == 1 ? this.UserUtils.getUser(info.recipients[0]) : null; dmdiv.setAttribute("channelid", id); anker.parentElement.insertBefore(dmdiv, anker.nextSibling);