Merge pull request #458 from 1st8/master
Fix no messages being shown in chat
This commit is contained in:
commit
c9b0d4c86a
@ -1384,7 +1384,7 @@
|
|||||||
var $first_msg = this.$content.children('.chat-message:first'),
|
var $first_msg = this.$content.children('.chat-message:first'),
|
||||||
first_msg_date = $first_msg.data('isodate'),
|
first_msg_date = $first_msg.data('isodate'),
|
||||||
last_msg_date, current_msg_date, day_date, $msgs, msg_dates, idx;
|
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);
|
this.appendMessage(attrs);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user