-
-
Notifications
You must be signed in to change notification settings - Fork 17
Notifications Support for Piefed #170
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
Notifications Support for Piefed #170
Conversation
jwr1
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.
Thank you!
You working on this made me realize some of the notification code needs to be reworked a bit, but I'll do that separately.
It seems preferred.social still hasn't updated, so I won't be able to test it quite yet. Here are my initial thoughts, though.
|
note - converted back to draft to work on the |
c120bdc to
ff8d582
Compare
Co-authored-by: jwr1 <47087725+jwr1@users.noreply.github.com>
jwr1
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.
Thank you, it's looking great!
This adds support for notifications for Piefed.
In coordination with this PR on Piefed: https://codeberg.org/rimu/pyfedi/pulls/615 (now merged), and https://codeberg.org/rimu/pyfedi/pulls/619.
It's mostly based on the way the
.fromMbinfunctions are setup, except the NotificationItem model which does a switch on the notificationtype more like the lemmy way.I tested it on my personal piefed instance and its working so far.
Works for the Linux client and the android app in my testing.