Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further reduce calls of API.getCurrentUser #899

Merged

Conversation

DubyaDude
Copy link
Contributor

@DubyaDude DubyaDude commented Sep 3, 2024

  • Move nextCurrentUserRefresh set into API.getCurrentUser.
  • Add a check on refreshFriends to not grab getcurrentuser twice on startup.

@DubyaDude DubyaDude changed the title Move nextCurrentUserRefresh set into API.getCurrentUser Further reduce calls of API.getCurrentUser Sep 3, 2024
@Natsumi-sama Natsumi-sama merged commit 0b8d394 into vrcx-team:master Sep 10, 2024
Natsumi-sama pushed a commit to Natsumi-sama/VRCX that referenced this pull request Sep 10, 2024
* Move nextCurrentUserRefresh set into API.getCurrentUser

* Fix loop reset

* Don't get user on refreshFriends too fast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants