Commit a420ade7 authored by Sébastien Blin's avatar Sébastien Blin

chatview: avoid to add message twice

if loadConversation occurs while printing new interactions

Change-Id: If273aaec873f2dd2d243773f2c792bf756322848
parent fb997546
......@@ -1977,6 +1977,8 @@ function addOrUpdateMessage(message_object, new_message, insert_after = true, me
var message_div = messages_div.querySelector("#message_" + message_id)
if (new_message) {
if (message_div)
message_div = buildNewMessage(message_object)
/* Show timestamp if either:
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