mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-22 00:03:51 +02:00
Changes and fixes
This commit is contained in:
@@ -1476,7 +1476,7 @@ speechSynthesis.getVoices();
|
||||
ref,
|
||||
props
|
||||
});
|
||||
if (this.debugDiff) {
|
||||
if ($app.debugUserDiff) {
|
||||
console.log('>', ref.displayName, props);
|
||||
}
|
||||
}
|
||||
@@ -4153,7 +4153,7 @@ speechSynthesis.getVoices();
|
||||
$app.data.debug = false;
|
||||
$app.data.debugWebRequests = false;
|
||||
$app.data.debugWebSocket = false;
|
||||
$app.data.debugDiff = false;
|
||||
$app.data.debugUserDiff = false;
|
||||
|
||||
$app.data.APILastOnline = new Map();
|
||||
|
||||
@@ -7466,11 +7466,6 @@ speechSynthesis.getVoices();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
// case 'AvatarChange':
|
||||
// if (String(row.name).toUpperCase().includes(value)) {
|
||||
// return true;
|
||||
// }
|
||||
// return false;
|
||||
case 'Event':
|
||||
if (String(row.data).toUpperCase().includes(value)) {
|
||||
return true;
|
||||
@@ -7529,6 +7524,15 @@ speechSynthesis.getVoices();
|
||||
|
||||
$app.methods.addGameLog = function (entry) {
|
||||
this.gameLogSessionTable.push(entry);
|
||||
if (
|
||||
entry.type === 'LocationDestination' ||
|
||||
entry.type === 'AvatarChange' ||
|
||||
(entry.userId === API.currentUser.id &&
|
||||
(entry.type === 'OnPlayerJoined' ||
|
||||
entry.type === 'OnPlayerLeft'))
|
||||
) {
|
||||
return;
|
||||
}
|
||||
if (
|
||||
this.gameLogTable.filter.length > 0 &&
|
||||
!this.gameLogTable.filter.includes(entry.type)
|
||||
@@ -7538,14 +7542,6 @@ speechSynthesis.getVoices();
|
||||
if (!this.gameLogSearch(entry)) {
|
||||
return;
|
||||
}
|
||||
if (
|
||||
entry.type === 'LocationDestination' ||
|
||||
(entry.userId === API.currentUser.id &&
|
||||
(entry.type === 'OnPlayerJoined' ||
|
||||
entry.type === 'OnPlayerLeft'))
|
||||
) {
|
||||
return;
|
||||
}
|
||||
if (entry.type === 'VideoPlay') {
|
||||
// event time can be before last gameLog entry
|
||||
this.updateSharedFeed(true);
|
||||
@@ -8244,7 +8240,7 @@ speechSynthesis.getVoices();
|
||||
this.showUserDialog(ref.userId);
|
||||
return;
|
||||
}
|
||||
if (!ref.displayname) {
|
||||
if (!ref.displayName || ref.displayName.substring(0, 3) === 'ID:') {
|
||||
return;
|
||||
}
|
||||
for (var ctx of API.cachedUsers.values()) {
|
||||
@@ -8454,7 +8450,21 @@ speechSynthesis.getVoices();
|
||||
if (!query) {
|
||||
for (var ref of API.cachedAvatars.values()) {
|
||||
if (ref.authorId === API.currentUser.id) {
|
||||
avatars.push(ref);
|
||||
switch (this.searchAvatarFilter) {
|
||||
case 'all':
|
||||
avatars.push(ref);
|
||||
break;
|
||||
case 'public':
|
||||
if (ref.releaseStatus === 'public') {
|
||||
avatars.push(ref);
|
||||
}
|
||||
break;
|
||||
case 'private':
|
||||
if (ref.releaseStatus === 'private') {
|
||||
avatars.push(ref);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -9898,6 +9908,7 @@ speechSynthesis.getVoices();
|
||||
};
|
||||
|
||||
$app.methods.vrInit = function () {
|
||||
downloadProgressStateChange();
|
||||
this.updateVRConfigVars();
|
||||
this.updateVRLastLocation();
|
||||
this.updateVrNowPlaying();
|
||||
@@ -15086,7 +15097,7 @@ speechSynthesis.getVoices();
|
||||
'VRCX_progressPieFilter',
|
||||
this.progressPieFilter
|
||||
);
|
||||
this.updateVRConfigVars();
|
||||
this.updateVRLastLocation();
|
||||
};
|
||||
|
||||
$app.methods.showYouTubeApiDialog = function () {
|
||||
@@ -16202,7 +16213,7 @@ speechSynthesis.getVoices();
|
||||
this.debug ||
|
||||
this.debugWebRequests ||
|
||||
this.debugWebSocket ||
|
||||
this.debugDiff
|
||||
this.debugUserDiff
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user