I used latest version of buddypress and wordpress also .
IN current buddypress when user join group that time new activity will creat . but i cant stop it using hook .
groups_record_activity(
array(
‘type’ => ‘joined_group’,
‘item_id’ => $group_id,
‘user_id’ => $user_id,
)
);