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

Bug fix - Select the correct users to notify for subscribed posts #3442

Closed
wants to merge 1 commit into from

Conversation

OwenMelbz
Copy link
Contributor

Sorry, I don't have time to do a full tested and reviewed PR feedback form to due our project deadlines.

However this has been requested via: https://discuss.flarum.org/d/30928-subscription-notifications-not-firing

The issue was that the notification would only get dispatched to users who's last read number was the same as the latest post.

However we need to send the notification to all users who have a read number LESS than the current post to make sure they are notified.

This PR hopes to solve that.

@SychO9
Copy link
Member

SychO9 commented May 31, 2022

Hey! Thanks for the PR!

While this does solve the bug, it is a change in behavior, I believe doing this would send reply notifications not just once but every time there is a new post reply. The initial behavior was to just send a notification on the first reply only.

Ref: #3443

Need to look into this a bit further 🤔

@luceos
Copy link
Member

luceos commented Jun 4, 2022

@OwenMelbz thanks for the pull request. After some further research it seemed your changes weren't the right one. We have merged a fix and will deploy this as soon as possible as a patch.

Although your contribution wasn't merged, we are still very appreciative of the initial research and assistance in trying to resolve the issue. Thank you!

@luceos luceos closed this Jun 4, 2022
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.

3 participants