-
Bug
-
Resolution: Fixed
-
Critical
-
3.2
-
MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
MDL-57036_master -
We show it everywhere.
The old messaging behaviour did not use user_get_user_details() to check whether or not the user could see the profile picture, so it was always shown. If we were to use user_get_user_details() 99.9% of users would never ever see a profile picture on the messaging interface, making it useless. The reason is because of the following conditional check if (!$currentuser && !$canviewdetailscap && !has_coursecontact_role($user->id)) {.
So, to keep things consistent, let's show it.