From 8fefa2b7163943fee3269ca4fcebabde7a253ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90=E1=BB=97=20V=C4=83n=20Ho=C3=A0i=20Tu=C3=A2n?= Date: Fri, 7 Apr 2023 12:15:11 -0700 Subject: [PATCH] FakeNitro: Fix stickers with space in name #819 (#820) --- src/plugins/fakeNitro.tsx | 4 ++-- 1 file 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)}`; } }