Commit c9b0d4c8 authored by JC Brand's avatar JC Brand

Merge pull request #458 from 1st8/master

Fix no messages being shown in chat 
parents d8a32578 73fa397c
......@@ -1384,7 +1384,7 @@
var $first_msg = this.$content.children('.chat-message:first'),
first_msg_date = $first_msg.data('isodate'),
last_msg_date, current_msg_date, day_date, $msgs, msg_dates, idx;
if (typeof first_msg_date === "undefined") {
if (!first_msg_date) {
this.appendMessage(attrs);
return;
}
......
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