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

fix AliveMap #23

Closed
wants to merge 1 commit into from
Closed

fix AliveMap #23

wants to merge 1 commit into from

Conversation

Ahmad10611
Copy link

In controller.go, a new function updateUserStatus was added to clean and update the AliveMap for users with changed UUIDs, ensuring the correct handling of online device information.

In controller.go, a new function updateUserStatus was added to clean and update the AliveMap for users with changed UUIDs, ensuring the correct handling of online device information.
Copy link
Owner

@wyx2685 wyx2685 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wtf is user.UUIDChanged

@Ahmad10611
Copy link
Author

"The UUIDChanged flag was introduced to track when a user's UUID has been modified. This flag isn't part of the original codebase and was added to detect and handle updates to the UUID. If it's not needed or doesn't exist in the current UserInfo structure, an alternative method (like comparing the current and previous UUIDs directly) can be used."

@wyx2685
Copy link
Owner

wyx2685 commented Sep 11, 2024

it won't pass compile test

@wyx2685 wyx2685 closed this Sep 11, 2024
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