Add comments to patches

This commit is contained in:
Grzesiek11 2024-02-07 00:26:20 +01:00
parent 86162b301a
commit 54c9564894
No known key found for this signature in database
GPG key ID: 4A5445FB68CDB5C4

View file

@ -26,6 +26,7 @@ export default definePlugin({
description: "Prevents Discord from replacing emoji with images, leaving it up to the browser to render them",
authors: [Devs.Grzesiek11],
patches: [
// Reactions
{
find: "getSrc(){",
replacement: {
@ -33,6 +34,7 @@ export default definePlugin({
replace: "$1return null",
},
},
// Messages
{
find: ",findInlineEmojisFromSurrogates:",
replacement: {