Skip to content
Snippets Groups Projects
Commit ea8140fc authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

chatview: change sender image for typing indicator when changing conversation

Change-Id: I2b00bb8a96ff5595ba93dc198af52a1f03f9139e
parent 9964d9b9
Branches
No related tags found
No related merge requests found
......@@ -2181,6 +2181,14 @@ function setSenderImage(set_sender_image_object)
invite_style.id = invite_sender_image_id
invite_style.innerHTML = "." + invite_sender_image_id + " {content: url(data:image/png;base64," + sender_image + ");height: 48px; width: 48px;}"
document.head.appendChild(invite_style)
if (use_qt) {
var typing_indicator_container_div = document.getElementById("typing_indicator_container")
var sender_image_span = typing_indicator_container_div.querySelector(".sender_image_cell")
if (sender_image_span) {
sender_image_span.childNodes[0].setAttribute("class", "sender_image " + sender_image_id)
}
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment