mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Fix friendLog and notifications in wrist overlay
This commit is contained in:
@@ -15361,9 +15361,13 @@ console.log(`isLinux: ${LINUX}`);
|
|||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
this.friendsListLoadingProgress = `${i}/${length}`;
|
this.friendsListLoadingProgress = `${i}/${length}`;
|
||||||
|
try {
|
||||||
await API.getUser({
|
await API.getUser({
|
||||||
userId
|
userId
|
||||||
});
|
});
|
||||||
|
} catch (err) {
|
||||||
|
console.error(err);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.friendsListLoadingProgress = '';
|
this.friendsListLoadingProgress = '';
|
||||||
this.friendsListLoading = false;
|
this.friendsListLoading = false;
|
||||||
|
|||||||
@@ -419,7 +419,7 @@ export default class extends baseClass {
|
|||||||
|
|
||||||
updateSharedFeedNotificationTable(forceUpdate) {
|
updateSharedFeedNotificationTable(forceUpdate) {
|
||||||
// invite, requestInvite, requestInviteResponse, inviteResponse, friendRequest
|
// invite, requestInvite, requestInviteResponse, inviteResponse, friendRequest
|
||||||
var notificationTable = this.notificationTable;
|
var notificationTable = this.notificationTable.data;
|
||||||
var i = notificationTable.length;
|
var i = notificationTable.length;
|
||||||
if (i > 0) {
|
if (i > 0) {
|
||||||
if (
|
if (
|
||||||
@@ -471,7 +471,7 @@ export default class extends baseClass {
|
|||||||
|
|
||||||
updateSharedFeedFriendLogTable(forceUpdate) {
|
updateSharedFeedFriendLogTable(forceUpdate) {
|
||||||
// TrustLevel, Friend, FriendRequest, Unfriend, DisplayName
|
// TrustLevel, Friend, FriendRequest, Unfriend, DisplayName
|
||||||
var friendLog = this.friendLogTable;
|
var friendLog = this.friendLogTable.data;
|
||||||
var i = friendLog.length;
|
var i = friendLog.length;
|
||||||
if (i > 0) {
|
if (i > 0) {
|
||||||
if (
|
if (
|
||||||
|
|||||||
Reference in New Issue
Block a user