Opened 5 years ago
Closed 4 years ago
#3341 closed defect (bug) (fixed)
Notifcations for new replies do not get marked as read
Reported by: | konnektiv | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 2.6.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Extend - BuddyPress | Keywords: | has-patch |
Cc: | mattiejas |
Description
When clicking on the notification for a new topic reply the notification is not marked as read an therefore does not disappear from the displayed notifications. This is due to the notifications are updated by item_id which is set as the topic_id, but are created with the reply_id as the notification item_id. The attached patch modifies the notification component action to include the topic_id and then marks all notifications as read with the same component action. This has the added benefit that if a user is notified of replies to different topics the user created these are shown as different notifications for each topic. Clicking on each notification opens the correct topic instead of just the first one as it is now.
This looks pretty good!