aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorĐỗ Văn Hoài Tuân <htuan03@gmail.com>2023-04-07 12:15:11 -0700
committerGitHub <noreply@github.com>2023-04-07 21:15:11 +0200
commit8fefa2b7163943fee3269ca4fcebabde7a253ac2 (patch)
tree48e3b1ae06670153b2d8a9ea82e098b07597f5cc /src/plugins
parent2a0c30b66d9c49eca2c6c34f438dbfdfcd338f6e (diff)
downloadVencord-8fefa2b7163943fee3269ca4fcebabde7a253ac2.tar.gz
Vencord-8fefa2b7163943fee3269ca4fcebabde7a253ac2.tar.bz2
Vencord-8fefa2b7163943fee3269ca4fcebabde7a253ac2.zip
FakeNitro: Fix stickers with space in name #819 (#820)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/fakeNitro.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/fakeNitro.tsx b/src/plugins/fakeNitro.tsx
index 0a42ab1..d8805f4 100644
--- a/src/plugins/fakeNitro.tsx
+++ b/src/plugins/fakeNitro.tsx
@@ -147,7 +147,7 @@ migratePluginSettings("FakeNitro", "NitroBypass");
export default definePlugin({
name: "FakeNitro",
- authors: [Devs.Arjix, Devs.D3SOX, Devs.Ven, Devs.obscurity, Devs.captain, Devs.Nuckyz],
+ authors: [Devs.Arjix, Devs.D3SOX, Devs.Ven, Devs.obscurity, Devs.captain, Devs.Nuckyz, Devs.AutumnVN],
description: "Allows you to stream in nitro quality, send fake emojis/stickers and use client themes.",
dependencies: ["MessageEventsAPI"],
@@ -679,7 +679,7 @@ export default definePlugin({
}
delete extra.stickerIds;
- messageObj.content += " " + link + `&name=${sticker.name}`;
+ messageObj.content += " " + link + `&name=${encodeURIComponent(sticker.name)}`;
}
}