Wrist online friend counter 1

This commit is contained in:
Natsumi
2022-01-05 02:04:56 +13:00
parent 44652c2911
commit 25f394433e

View File

@@ -6323,6 +6323,7 @@ speechSynthesis.getVoices();
API.$on('USER:CURRENT', function (args) {
// USER:CURRENT에서 처리를 함
$app.refreshFriends(args.ref, args.origin);
$app.updateOnlineFriendCoutner();
});
API.$on('USER', function (args) {
@@ -11455,10 +11456,8 @@ speechSynthesis.getVoices();
this.updateVRLastLocation();
this.updateVrNowPlaying();
this.updateSharedFeed(true);
AppApi.ExecuteVrFeedFunction(
'updateOnlineFriendCount',
`${this.onlineFriendCount}`
);
this.onlineFriendCount = 0;
this.updateOnlineFriendCoutner();
};
API.$on('LOGIN', function () {