[buddypress-trac] [BuddyPress Trac] #9305: 'joined_group' activity item not removed when user leaves group or is removed from the group
buddypress-trac
noreply at wordpress.org
Mon Dec 29 06:37:35 UTC 2025
#9305: 'joined_group' activity item not removed when user leaves group or is
removed from the group
------------------------------------+-------------------------------------
Reporter: r-a-y | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Contributions
Component: Groups | Version: 1.9
Severity: minor | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+-------------------------------------
Changes (by prbot):
* keywords: dev-feedback needs-patch => dev-feedback has-patch
Comment:
''This ticket was mentioned in
[https://github.com/buddypress/buddypress/pull/428 PR #428] on
[https://github.com/buddypress/buddypress/ buddypress/buddypress] by
[https://profiles.wordpress.org/manhphucofficial/ @manhphucofficial].''
This PR adjusts when the `joined_group` activity item is cleaned up.
When a member voluntarily leaves a group, the corresponding `joined_group`
activity is now preserved. Cleanup is still performed when a member is
removed or banned by a group admin or moderator.
This aligns with the consensus discussed in #9305 to distinguish between
voluntary member actions and admin/moderator actions.
### How to test
1. Create a group and join it as a user.
2. Leave the group as that user → the `joined_group` activity item should
remain.
3. Join the group again, then remove or ban the user as an admin →
the `joined_group` activity item should be deleted.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9305#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list