aboutsummaryrefslogtreecommitdiff
path: root/actions/join_groupchat.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/join_groupchat.php')
-rw-r--r--actions/join_groupchat.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/join_groupchat.php b/actions/join_groupchat.php
index 0d2d75c61..c694d7957 100644
--- a/actions/join_groupchat.php
+++ b/actions/join_groupchat.php
@@ -1,6 +1,6 @@
<?php
-$user = get_loggedin_user();
+$user = elgg_get_logged_in_user_entity();
$group = get_entity(get_input('group_guid'));
if ($user && $group) {