mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Apply user information on messages
This commit is contained in:
parent
46912f47c7
commit
bca2e6449e
@ -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]);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user