-
Notifications
You must be signed in to change notification settings - Fork 83
Enable Mastodon Apps: Add notifications for boosts, likes, and new followers #2570
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds notification support for boosts (reblogs), likes (favourites), and new followers to the Enable Mastodon Apps integration. It introduces a new api_notifications_get filter handler that aggregates notifications from ActivityPub comments (likes and reblogs) and follower records, returning them in Mastodon API format.
Key changes:
- Added notification filtering and aggregation for boosts, likes, and follows via
api_notifications_get()method - Refactored common Actor-to-Account conversion logic into a reusable
actor_to_account()helper method - Extended ActivityPub object type support from just 'Note' to include 'Article' types
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
pfefferle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Proposed changes:
mastodon_api_notifications_getfilter provided by Enable Mastodon AppsOther information:
This is what it would look like in Phanpy:

Testing instructions:
Changelog entry
Changelog Entry Details
Significance
Type
Message
Add notifications for boosts, likes, and new followers in Mastodon apps via the Enable Mastodon Apps plugin