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 issue where the 'favourited' field of a notification's status is always false #779

Merged

Conversation

blackle
Copy link
Contributor

@blackle blackle commented Aug 30, 2022

since the requesting account was nil in the call to StatusToAPIStatus, it couldn't set the favourited flag correctly. so if you favourite a post from a notification then reload notifications, the favourite disappears (even though the favourite was successful)

@tsmethurst
Copy link
Contributor

Good catch 👍

@tsmethurst tsmethurst merged commit 1f8ecf1 into superseriousbusiness:main Aug 30, 2022
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