chatview: remove dropdown for typing message

Change-Id: Ied2d9baefe75acde1a9a968459dd304928b4d730
parent 77f906e1
......@@ -1634,12 +1634,14 @@ function buildNewMessage(message_object) {
message_div.appendChild(temp)
}
var message_dropdown = buildMessageDropdown(message_id)
if (message_type !== "call" && message_type !== "contact") {
message_div.appendChild(message_dropdown)
} else {
var wrapper = message_div.querySelector(".message_wrapper")
wrapper.insertBefore(message_dropdown, wrapper.firstChild)
if (message_id !== 'typing') {
var message_dropdown = buildMessageDropdown(message_id)
if (message_type !== "call" && message_type !== "contact") {
message_div.appendChild(message_dropdown)
} else {
var wrapper = message_div.querySelector(".message_wrapper")
wrapper.insertBefore(message_dropdown, wrapper.firstChild)
}
}
if(use_qt) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment