mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
lint
This commit is contained in:
@@ -1093,15 +1093,15 @@ speechSynthesis.getVoices();
|
|||||||
if ((this.config.desktopToast) && (this.isGameNoVR)) {
|
if ((this.config.desktopToast) && (this.isGameNoVR)) {
|
||||||
var imageURL = '';
|
var imageURL = '';
|
||||||
if (noty.userId) {
|
if (noty.userId) {
|
||||||
await API.getCachedUser({
|
imageURL = await API.getCachedUser({
|
||||||
userId: noty.userId
|
userId: noty.userId
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
throw err;
|
throw err;
|
||||||
}).then((args) => {
|
}).then((args) => {
|
||||||
imageURL = args.json.currentAvatarThumbnailImageUrl;
|
|
||||||
if ((this.config.displayVRCPlusIconsAsAvatar) && (args.json.userIcon)) {
|
if ((this.config.displayVRCPlusIconsAsAvatar) && (args.json.userIcon)) {
|
||||||
imageURL = args.json.userIcon;
|
return args.json.userIcon;
|
||||||
}
|
}
|
||||||
|
return args.json.currentAvatarThumbnailImageUrl;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
switch (noty.type) {
|
switch (noty.type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user