aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/join.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions/join.php')
-rw-r--r--mod/groups/actions/join.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/groups/actions/join.php b/mod/groups/actions/join.php
index 6d55d3636..7e55306f5 100644
--- a/mod/groups/actions/join.php
+++ b/mod/groups/actions/join.php
@@ -35,7 +35,9 @@
// Remove any invite or join request flags
remove_metadata($user->guid, 'group_invite', $group->guid);
remove_metadata($user->guid, 'group_join_request', $group->guid);
-
+ // add to river
+ add_to_river('river/group/create','join',$user->guid,$group->guid);
+
forward($group->getURL());
exit;
}