Remove portal spawn gameLog filter to prevent confusion

This commit is contained in:
Natsumi
2025-05-01 20:12:59 +10:00
parent d94ef24a9a
commit 16c2839dc7
2 changed files with 1 additions and 16 deletions
-15
View File
@@ -1684,21 +1684,6 @@ console.log(`isLinux: ${LINUX}`);
} else if (json.title) {
json.message = json.title;
}
if (json.type === 'boop') {
if (!json.imageUrl && json.details?.emojiId?.startsWith('file_')) {
// JANK: create image url from fileId
json.imageUrl = `https://api.vrchat.cloud/api/1/file/${json.details.emojiId}/${json.details.emojiVersion}`;
}
if (!json.details?.emojiId) {
json.message = `${json.senderUsername} Booped you! without an emoji`;
} else if (!json.details.emojiId.startsWith('file_')) {
// JANK: get emoji name from emojiId
json.message = `${json.senderUsername} Booped you! with ${$app.getEmojiName(json.details.emojiId)}`;
} else {
json.message = `${json.senderUsername} Booped you! with custom emoji`;
}
}
this.$emit('NOTIFICATION', {
json,
params: {