Fix friendLog and notifications in wrist overlay

This commit is contained in:
Natsumi
2025-01-24 13:41:50 +13:00
parent 8f022e16ca
commit 0618ea68a6
2 changed files with 9 additions and 5 deletions

View File

@@ -15361,9 +15361,13 @@ console.log(`isLinux: ${LINUX}`);
}
i++;
this.friendsListLoadingProgress = `${i}/${length}`;
await API.getUser({
userId
});
try {
await API.getUser({
userId
});
} catch (err) {
console.error(err);
}
}
this.friendsListLoadingProgress = '';
this.friendsListLoading = false;

View File

@@ -419,7 +419,7 @@ export default class extends baseClass {
updateSharedFeedNotificationTable(forceUpdate) {
// invite, requestInvite, requestInviteResponse, inviteResponse, friendRequest
var notificationTable = this.notificationTable;
var notificationTable = this.notificationTable.data;
var i = notificationTable.length;
if (i > 0) {
if (
@@ -471,7 +471,7 @@ export default class extends baseClass {
updateSharedFeedFriendLogTable(forceUpdate) {
// TrustLevel, Friend, FriendRequest, Unfriend, DisplayName
var friendLog = this.friendLogTable;
var friendLog = this.friendLogTable.data;
var i = friendLog.length;
if (i > 0) {
if (