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

Weird notif issue #248

Merged
merged 3 commits into from
Sep 27, 2021
Merged

Weird notif issue #248

merged 3 commits into from
Sep 27, 2021

Conversation

tsmethurst
Copy link
Contributor

This PR fixes an issue where notifications were being streamed to a user for faves on statuses owned by other people.

The issue was caused by GtS assuming that any faves that arrived in an inbox should be faves of a status created by the inbox owner. However, other implementations like Misskey seem to federate faves by an account to all followers of that account, regardless of who actually posted the status.

The fix was to check who the fave was directed at before streaming a notification, rather than just assuming that the inbox owner and the status fave target owner are the same.

@tsmethurst tsmethurst merged commit b3fd9c3 into main Sep 27, 2021
@tsmethurst tsmethurst deleted the weird_notif_issue branch September 27, 2021 15:42
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.

1 participant