mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-24 17:19:00 -05:00
Fix For Random Crashing with FullVCPFP
This commit is contained in:
parent
605af265ff
commit
2445a24cc3
1 changed files with 1 additions and 1 deletions
|
@ -34,9 +34,9 @@ export default definePlugin({
|
||||||
|
|
||||||
getVoiceBackgroundStyles({ className, participantUserId }: any) {
|
getVoiceBackgroundStyles({ className, participantUserId }: any) {
|
||||||
if (!className.includes("tile_")) return;
|
if (!className.includes("tile_")) return;
|
||||||
|
if (!participantUserId) return;
|
||||||
|
|
||||||
const user = UserStore.getUser(participantUserId);
|
const user = UserStore.getUser(participantUserId);
|
||||||
|
|
||||||
const avatarUrl = IconUtils.getUserAvatarURL(user, false, 1024);
|
const avatarUrl = IconUtils.getUserAvatarURL(user, false, 1024);
|
||||||
|
|
||||||
if (Settings.plugins.USRBG.enabled && Settings.plugins.USRBG.voiceBackground) {
|
if (Settings.plugins.USRBG.enabled && Settings.plugins.USRBG.voiceBackground) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue