mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
"Forward" user information to emoji parser
This commit is contained in:
@ -891,10 +891,11 @@ const ConvChatWindow = {
|
||||
});
|
||||
|
||||
//Load user informations
|
||||
let userInfos;
|
||||
if(conversationInfo.membersInfos["user-" + message.ID_user]){
|
||||
|
||||
//Get informations
|
||||
var userInfos = conversationInfo.membersInfos["user-" + message.ID_user];
|
||||
userInfos = conversationInfo.membersInfos["user-" + message.ID_user];
|
||||
|
||||
//Replace poster name
|
||||
usernameElem.innerHTML = userInfos.firstName + " " + userInfos.lastName;
|
||||
@ -953,6 +954,7 @@ const ConvChatWindow = {
|
||||
//Parse emojies in text message
|
||||
ComunicWeb.components.textParser.parse({
|
||||
element: textMessage,
|
||||
user: userInfos,
|
||||
});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user