Wrist online friend counter 1

This commit is contained in:
Natsumi
2022-01-05 02:04:56 +13:00
parent 44652c2911
commit 25f394433e
+3 -4
View File
@@ -6323,6 +6323,7 @@ speechSynthesis.getVoices();
API.$on('USER:CURRENT', function (args) { API.$on('USER:CURRENT', function (args) {
// USER:CURRENT에서 처리를 함 // USER:CURRENT에서 처리를 함
$app.refreshFriends(args.ref, args.origin); $app.refreshFriends(args.ref, args.origin);
$app.updateOnlineFriendCoutner();
}); });
API.$on('USER', function (args) { API.$on('USER', function (args) {
@@ -11455,10 +11456,8 @@ speechSynthesis.getVoices();
this.updateVRLastLocation(); this.updateVRLastLocation();
this.updateVrNowPlaying(); this.updateVrNowPlaying();
this.updateSharedFeed(true); this.updateSharedFeed(true);
AppApi.ExecuteVrFeedFunction( this.onlineFriendCount = 0;
'updateOnlineFriendCount', this.updateOnlineFriendCoutner();
`${this.onlineFriendCount}`
);
}; };
API.$on('LOGIN', function () { API.$on('LOGIN', function () {