MDL-56871 core_message: fix inconsistent online status between panels

This commit is contained in:
Mark Nelson
2016-11-23 16:32:46 +08:00
parent 0fbe41f4cd
commit cb8057531f
12 changed files with 86 additions and 48 deletions
+1 -1
View File
@@ -361,7 +361,7 @@ class api {
$data->city = '';
$data->country = '';
$data->email = '';
$data->isonline = false;
$data->isonline = null;
// Get the user picture data - messaging has always shown these to the user.
$userpicture = new \user_picture($user);
$userpicture->size = 1; // Size f1.