mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-23 00:33:50 +02:00
Bug fixes
This commit is contained in:
@@ -8006,10 +8006,11 @@ speechSynthesis.getVoices();
|
||||
database.addGamelogPortalSpawnToDatabase(entry);
|
||||
break;
|
||||
case 'video-play':
|
||||
if (this.lastVideoUrl === gameLog.videoUrl) {
|
||||
var videoUrl = encodeURI(gameLog.videoUrl);
|
||||
if (this.lastVideoUrl === videoUrl) {
|
||||
return;
|
||||
}
|
||||
this.lastVideoUrl = gameLog.videoUrl;
|
||||
this.lastVideoUrl = videoUrl;
|
||||
this.addGameLogVideo(gameLog, location, userId);
|
||||
return;
|
||||
case 'video-sync':
|
||||
@@ -9793,9 +9794,17 @@ speechSynthesis.getVoices();
|
||||
};
|
||||
|
||||
$app.methods.search = function () {
|
||||
this.searchUser();
|
||||
this.searchWorld({});
|
||||
this.searchAvatar();
|
||||
switch (this.$refs.searchTab.currentName) {
|
||||
case '0':
|
||||
this.searchUser();
|
||||
break;
|
||||
case '1':
|
||||
this.searchWorld({});
|
||||
break;
|
||||
case '2':
|
||||
this.searchAvatar();
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
$app.methods.searchUser = async function () {
|
||||
@@ -10428,6 +10437,7 @@ speechSynthesis.getVoices();
|
||||
database.setFriendLogCurrent(friendLogCurrent);
|
||||
this.notifyMenu('friendLog');
|
||||
this.deleteFriendRequest(id);
|
||||
this.updateSharedFeed(true);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -10461,6 +10471,7 @@ speechSynthesis.getVoices();
|
||||
this.friendLog.delete(id);
|
||||
database.deleteFriendLogCurrent(id);
|
||||
this.notifyMenu('friendLog');
|
||||
this.updateSharedFeed(true);
|
||||
};
|
||||
|
||||
$app.methods.updateFriendships = function (ref) {
|
||||
@@ -10513,6 +10524,7 @@ speechSynthesis.getVoices();
|
||||
database.setFriendLogCurrent(friendLogCurrent);
|
||||
ctx.displayName = ref.displayName;
|
||||
this.notifyMenu('friendLog');
|
||||
this.updateSharedFeed(true);
|
||||
}
|
||||
if (
|
||||
ref.$trustLevel &&
|
||||
@@ -10538,6 +10550,7 @@ speechSynthesis.getVoices();
|
||||
this.friendLog.set(ref.id, friendLogCurrent);
|
||||
database.setFriendLogCurrent(friendLogCurrent);
|
||||
this.notifyMenu('friendLog');
|
||||
this.updateSharedFeed(true);
|
||||
}
|
||||
ctx.trustLevel = ref.$trustLevel;
|
||||
};
|
||||
@@ -12690,8 +12703,11 @@ speechSynthesis.getVoices();
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (addUser && API.cachedUsers.has(friend.userId)) {
|
||||
users.push(API.cachedUsers.get(friend.userId));
|
||||
if (addUser) {
|
||||
var ref = API.cachedUsers.get(friend.userId);
|
||||
if (typeof ref !== 'undefined') {
|
||||
users.push(ref);
|
||||
}
|
||||
}
|
||||
}
|
||||
friendCount = users.length - 1;
|
||||
@@ -13678,7 +13694,9 @@ speechSynthesis.getVoices();
|
||||
L.user = ref;
|
||||
}
|
||||
}
|
||||
instance.friendCount = instance.users.length;
|
||||
if (instance.friendCount === 0) {
|
||||
instance.friendCount = instance.users.length;
|
||||
}
|
||||
instance.users.sort(compareByLocationAt);
|
||||
rooms.push(instance);
|
||||
}
|
||||
@@ -14133,7 +14151,7 @@ speechSynthesis.getVoices();
|
||||
if (!avatarId) {
|
||||
avatarId = await this.checkAvatarCacheRemote(
|
||||
fileId,
|
||||
ownerUserId
|
||||
avatarInfo.ownerId
|
||||
);
|
||||
}
|
||||
if (!avatarId) {
|
||||
|
||||
Reference in New Issue
Block a user