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

Add new_post support to notifications #339

Open
AccaliaDeElementia opened this issue Jun 30, 2016 · 0 comments
Open

Add new_post support to notifications #339

AccaliaDeElementia opened this issue Jun 30, 2016 · 0 comments

Comments

@AccaliaDeElementia
Copy link
Member

Sockbot should expose the event:new_post event to interested plugins.

the raw event data includes Post, User, and Topic data and so should be used to eliminate the need for additional AJAX/Websocket requests to load this information.

Additionally the Post object should be augmented to expose read only access to the selfPost attribute of the raw data, so that the notification event can be filtered to include or exclude selfposts by the receiving plugin.

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

No branches or pull requests

1 participant