From 25f394433ef933f88a342f3dc8329b17b0173fe9 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Wed, 5 Jan 2022 02:04:56 +1300 Subject: [PATCH] Wrist online friend counter 1 --- html/src/app.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index 83af6b20..d0853821 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -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 () {