From 2445a24cc3bb91a277684965701986cc8994d1a7 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sun, 23 Feb 2025 15:37:47 -0500 Subject: [PATCH] Fix For Random Crashing with FullVCPFP --- src/equicordplugins/fullVcPfp/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equicordplugins/fullVcPfp/index.tsx b/src/equicordplugins/fullVcPfp/index.tsx index 12166735..2b9fd366 100644 --- a/src/equicordplugins/fullVcPfp/index.tsx +++ b/src/equicordplugins/fullVcPfp/index.tsx @@ -34,9 +34,9 @@ export default definePlugin({ getVoiceBackgroundStyles({ className, participantUserId }: any) { if (!className.includes("tile_")) return; + if (!participantUserId) return; const user = UserStore.getUser(participantUserId); - const avatarUrl = IconUtils.getUserAvatarURL(user, false, 1024); if (Settings.plugins.USRBG.enabled && Settings.plugins.USRBG.voiceBackground) {