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

Cache does not update User on MemberUpdate #2416

Closed
itohatweb opened this issue Feb 1, 2025 · 0 comments · Fixed by #2417
Closed

Cache does not update User on MemberUpdate #2416

itohatweb opened this issue Feb 1, 2025 · 0 comments · Fixed by #2417
Assignees
Labels
c-cache Affects the cache crate t-bug Programming error in the library

Comments

@itohatweb
Copy link
Member

Discord does also send MemberUpdate events when the related User has changed. For example an avatar update, or username change.
Currently the in memory cache does not update the User on MemberUpdate: https://github.com/twilight-rs/twilight/blob/main/twilight-cache-inmemory/src/event/member.rs#L168-L178

@itohatweb itohatweb added c-cache Affects the cache crate t-bug Programming error in the library labels Feb 1, 2025
@itohatweb itohatweb self-assigned this Feb 1, 2025
@Erk- Erk- closed this as completed in #2417 Feb 7, 2025
@Erk- Erk- closed this as completed in a216837 Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-cache Affects the cache crate t-bug Programming error in the library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant