Opened 10 years ago
Closed 10 years ago
#6687 closed defect (bug) (fixed)
'Mentions' tab of the Activity directory & new_at_mention notifications
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.5 | Priority: | normal |
| Severity: | normal | Version: | 1.9 |
| Component: | Toolbar & Notifications | Keywords: | has-patch commit |
| Cc: |
Description
Let's say someone mentioned you. And you are displaying the activity directory, The mentions tab is looking like this Mentions (1 new). If you click on it the bp_new_mention_count & bp_new_mentions usermetas are removed, but not the corresponding entries into the notifications table.
I think we should remove these notications.
Attachments (2)
Change History (6)
#2
@
10 years ago
@DJPaul you're right, sorry i forgot the unit test about it. Working on this unit test made me change the patch to make it simpler as bp_activity_reset_my_new_mentions() is hooking to bp_activity_screen_mentions.
If no objections, i will commit 6687.02.patch this evening (6 or 7 hours from now).
Yes. Bonus points if you can unit test this somehow.