mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-12 19:33:50 +02:00
allow logging external events without notification (#1337)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user