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 unread count not resetting when swapping to anon #1233

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

MV-GH
Copy link
Collaborator

@MV-GH MV-GH commented Sep 14, 2023

Fixes #1222

@0xFOSSMan

Sorry about before but this one can be trivially solved by resetting the unreadCount response to empty again.

Since we using derivativedState it will trigger on changes to unreadCountRes. Where getUnreadCountTotal sets it to zero for that ApiState

@0xFOSSMan
Copy link
Contributor

thx for the info and don't worry, I am just starting out and it's okay to make mistakes

@dessalines dessalines merged commit d8876c1 into LemmyNet:main Sep 15, 2023
@MV-GH MV-GH deleted the fix/1222 branch September 15, 2023 12:53
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.

Swapping to anon doesn't reset inbox counter
3 participants