From da6999b5cf2c3d50faa74cc47f9296155a3eb3ac Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Tue, 16 Dec 2025 23:05:21 -0500 Subject: [PATCH] UsrBG: Revert bg change --- src/plugins/usrbg/index.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/plugins/usrbg/index.tsx b/src/plugins/usrbg/index.tsx index ab9e6891e..6370bbc41 100644 --- a/src/plugins/usrbg/index.tsx +++ b/src/plugins/usrbg/index.tsx @@ -100,13 +100,15 @@ export default definePlugin({ ), getVoiceBackgroundStyles({ className, participantUserId }: any) { - if (className.includes("tile") && this.userHasBackground(participantUserId)) { - return { - backgroundImage: `url(${this.getImageUrl(participantUserId)})`, - backgroundSize: "cover", - backgroundPosition: "center", - backgroundRepeat: "no-repeat" - }; + if (className.includes("tile")) { + if (this.userHasBackground(participantUserId)) { + return { + backgroundImage: `url(${this.getImageUrl(participantUserId)})`, + backgroundSize: "cover", + backgroundPosition: "center", + backgroundRepeat: "no-repeat" + }; + } } },