mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53: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;
|
break;
|
||||||
case 'External': {
|
case 'External': {
|
||||||
const displayName = data.DisplayName ?? '';
|
const displayName = data.DisplayName ?? '';
|
||||||
|
const notify = data.notify ?? true;
|
||||||
entry = {
|
entry = {
|
||||||
created_at: new Date().toJSON(),
|
created_at: new Date().toJSON(),
|
||||||
type: 'External',
|
type: 'External',
|
||||||
@@ -363,7 +364,9 @@ export const useVrcxStore = defineStore('Vrcx', () => {
|
|||||||
location: locationStore.lastLocation.location
|
location: locationStore.lastLocation.location
|
||||||
};
|
};
|
||||||
database.addGamelogExternalToDatabase(entry);
|
database.addGamelogExternalToDatabase(entry);
|
||||||
notificationStore.queueGameLogNoty(entry);
|
if (notify){
|
||||||
|
notificationStore.queueGameLogNoty(entry);
|
||||||
|
}
|
||||||
gameLogStore.addGameLog(entry);
|
gameLogStore.addGameLog(entry);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user