This commit is contained in:
Natsumi
2025-10-17 16:57:09 +11:00
parent 9e95e1734c
commit dc51d156e4
13 changed files with 386 additions and 330 deletions
+9
View File
@@ -413,6 +413,15 @@ export const useNotificationStore = defineStore('Notification', () => {
}
ref.details = details;
}
if (ref.type === 'boop') {
ref.message = ref.title;
if (ref.details?.emojiId.startsWith('default_')) {
ref.details.imageUrl = ref.details.emojiId;
ref.message += ` ${ref.details.emojiId.replace('default_', '')}`;
} else {
ref.details.imageUrl = `${AppDebug.endpointDomain}/file/${ref.details.emojiId}/${ref.details.emojiVersion}`;
}
}
return ref;
}
+1 -1
View File
@@ -1115,7 +1115,7 @@ export const usePhotonStore = defineStore('Photon', () => {
} else if (type === 1) {
emojiName = 'Custom';
var fileId = data.Parameters[245][1];
imageUrl = `https://api.vrchat.cloud/api/1/file/${fileId}/1/`;
imageUrl = `${AppDebug.endpointDomain}/file/${fileId}/1/`;
}
addEntryPhotonEvent({
photonId,
+11 -1
View File
@@ -269,6 +269,10 @@ export const useUserStore = defineStore('User', () => {
languageChoice: false,
languages: []
});
const sendBoopDialog = ref({
visible: false,
userId: ''
});
const pastDisplayNameTable = ref({
data: [],
tableProps: {
@@ -1960,6 +1964,11 @@ export const useUserStore = defineStore('User', () => {
return ref;
}
function showSendBoopDialog(userId) {
sendBoopDialog.value.userId = userId;
sendBoopDialog.value.visible = true;
}
return {
state,
@@ -1968,6 +1977,7 @@ export const useUserStore = defineStore('User', () => {
userDialog,
subsetOfLanguages,
languageDialog,
sendBoopDialog,
pastDisplayNameTable,
showUserDialogHistory,
customUserTags,
@@ -1986,7 +1996,7 @@ export const useUserStore = defineStore('User', () => {
initUserNotes,
getCurrentUser,
handleConfig,
showSendBoopDialog,
checkNote
};
});