mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Fix friend log notify on first run
This commit is contained in:
+2
-3
@@ -7187,7 +7187,6 @@ speechSynthesis.getVoices();
|
|||||||
};
|
};
|
||||||
this.friendLogTable.data.push(friendLogHistory);
|
this.friendLogTable.data.push(friendLogHistory);
|
||||||
database.addFriendLogHistory(friendLogHistory);
|
database.addFriendLogHistory(friendLogHistory);
|
||||||
|
|
||||||
var friendLogCurrent = {
|
var friendLogCurrent = {
|
||||||
userId: id,
|
userId: id,
|
||||||
displayName: ctx.displayName,
|
displayName: ctx.displayName,
|
||||||
@@ -7195,8 +7194,8 @@ speechSynthesis.getVoices();
|
|||||||
};
|
};
|
||||||
this.friendLog.set(id, friendLogCurrent);
|
this.friendLog.set(id, friendLogCurrent);
|
||||||
database.setFriendLogCurrent(friendLogCurrent);
|
database.setFriendLogCurrent(friendLogCurrent);
|
||||||
|
this.notifyMenu('friendLog');
|
||||||
}
|
}
|
||||||
this.notifyMenu('friendLog');
|
|
||||||
};
|
};
|
||||||
|
|
||||||
$app.methods.deleteFriendship = function (id) {
|
$app.methods.deleteFriendship = function (id) {
|
||||||
@@ -7287,9 +7286,9 @@ speechSynthesis.getVoices();
|
|||||||
};
|
};
|
||||||
this.friendLog.set(ref.id, friendLogCurrent);
|
this.friendLog.set(ref.id, friendLogCurrent);
|
||||||
database.setFriendLogCurrent(friendLogCurrent);
|
database.setFriendLogCurrent(friendLogCurrent);
|
||||||
|
this.notifyMenu('friendLog');
|
||||||
}
|
}
|
||||||
ctx.trustLevel = ref.$trustLevel;
|
ctx.trustLevel = ref.$trustLevel;
|
||||||
this.notifyMenu('friendLog');
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user