buddyboss-platform
buddyboss-platform copied to clipboard
PROD-705 #3111 - Fix: Issue with someone leaves the group but not being shown in message notification
https://buddyboss.atlassian.net/browse/PROD-705
All Submissions:
- [x] Have you followed the Pull Requests Guidelines?
- [x] Does your code follow the WordPress' Coding Standards?
- [x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changes proposed in this Pull Request:
Fixes #3111 .
How to test the changes in this Pull Request:
- Try logging in to one user that is a member of the group.
- Try leaving the group and switching the user to another member of the group.
- You can see that message notification count is being added and can see that message notification.
NOTE: There are few other cases to test this issue:
- Join a new member
- Left member
- Banned member
- Unbanned member
- Delete the Group Messages from the particular user account
Proof Screenshots or Video
https://vimeo.com/646849758/e99eadb29b
Other information:
- [x] Have you added an explanation of what your changes do and why you'd like us to include them?
- [ ] Have you written new tests for your changes, as applicable?
- [x] Have you successfully run tests with your changes locally?
Changelog entry
Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.