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) {