allow logging external events without notification (#1337)

This commit is contained in:
sofoxe1
2025-08-23 23:48:23 +02:00
committed by GitHub
parent 887f59d2b4
commit ed06eee243

View File

@@ -354,6 +354,7 @@ export const useVrcxStore = defineStore('Vrcx', () => {
break;
case 'External': {
const displayName = data.DisplayName ?? '';
const notify = data.notify ?? true;
entry = {
created_at: new Date().toJSON(),
type: 'External',
@@ -363,7 +364,9 @@ export const useVrcxStore = defineStore('Vrcx', () => {
location: locationStore.lastLocation.location
};
database.addGamelogExternalToDatabase(entry);
notificationStore.queueGameLogNoty(entry);
if (notify){
notificationStore.queueGameLogNoty(entry);
}
gameLogStore.addGameLog(entry);
break;
}