MDL-45565 core_message: Fixed strangers array
commita2720952c227a4e94fcdafdf1394fa162d3fde58
authorRajesh Taneja <rajesh@moodle.com>
Mon, 19 May 2014 03:59:32 +0000 (19 11:59 +0800)
committerRajesh Taneja <rajesh@moodle.com>
Fri, 23 May 2014 08:48:15 +0000 (23 16:48 +0800)
tree737ddfd82c3c940ff7734e504b5ba16be1dc840a
parent89262fa9f1f7b1cb718fc2a150a992f4473a2a22
MDL-45565 core_message: Fixed strangers array

Strangers get mixed with noreply user and support user,
if  noreply/support users real user.
To avoid duplication use userid as array index. Also,
avoid fetching data again for noreply and support users,
if they are real users, then data is already feteched.
message/lib.php