Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add "poll" notification support #49

Merged
merged 2 commits into from
Jan 9, 2023
Merged

Add "poll" notification support #49

merged 2 commits into from
Jan 9, 2023

Conversation

jhwgh1968
Copy link
Contributor

@jhwgh1968 jhwgh1968 commented Jan 7, 2023

Closes #48

This is the minimal patch needed to avoid the issue. I was expecting to parse the poll data, but that seems to be hidden behind a "..." in the notification content itself by the API.

I would have also added tests, but this is trivial and I couldn't figure out where.

@jhwgh1968
Copy link
Contributor Author

I also just added another notification type I discovered missing: follow request for clients which require approval.

@dscottboggs
Copy link
Owner

Thanks for this, a full comb-through of all the types to make sure it matches with the current spec is in progress. I appreciate your help with that.

@dscottboggs
Copy link
Owner

Please note that these are not the only notification types possible, and that the report field is not yet implemented for the Notification type. This work is in progress, but pull requests are welcome.

@dscottboggs dscottboggs merged commit 83e0246 into dscottboggs:main Jan 9, 2023
@jhwgh1968 jhwgh1968 deleted the poll-notification branch January 18, 2023 22:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Notifications API: Unknown variant "poll"
2 participants