diff --git a/mod/dialogue/locallib.php b/mod/dialogue/locallib.php
index ec3666b..8ac02a1 100755
--- a/mod/dialogue/locallib.php
+++ b/mod/dialogue/locallib.php
@@ -96,16 +96,15 @@ global $USER, $CFG;
 
     $groupid = groups_get_activity_group($cm, true);
     // add current group before list of students if it's the teacher
-    if ($teachers[$USER->id] and groups_get_activity_groupmode($cm)) {
+    if ($teachers[$USER->id]) {
         // show teacher their current group
         if ($groupid) {
             if (!$group = get_record("groups", "id", $groupid)) {
                 error("Dialogue get available students: group not found");
             }
             $gnames["g$groupid"] = $group->name;
-        } else { // all participants
-            $gnames["g0"] = get_string("allparticipants");
         }
+        $gnames["g0"] = get_string("allparticipants");
         $gnames["spacer"] = "------------";
     }
 
