Apply user information on messages

This commit is contained in:
Pierre 2018-05-14 20:04:03 +02:00
parent 46912f47c7
commit bca2e6449e

View File

@ -268,7 +268,11 @@ ComunicWeb.pages.conversations.conversation = {
innerHTML: info.message
});
console.log(info);
//Apply user information (if available)
if(this._conv_info.users["user-" + info.ID_user]){
accountImage.src = this._conv_info.users["user-" + info.ID_user].accountImage;
nameContainer = userFullName(this._conv_info.users["user-" + info.ID_user]);
}
},