diff --git a/converse.js b/converse.js index 19558b8ba..ec460d15d 100644 --- a/converse.js +++ b/converse.js @@ -915,8 +915,7 @@ this.updateVCard(); this.$el.insertAfter(converse.chatboxviews.get("controlbox").$el); - this.model.messages.fetch({add: true}); - this.render(); + this.render().model.messages.fetch({add: true}); if (this.model.get('minimized')) { this.hide(); } else { diff --git a/docs/CHANGES.rst b/docs/CHANGES.rst index f83227bf9..5199bb98c 100644 --- a/docs/CHANGES.rst +++ b/docs/CHANGES.rst @@ -25,6 +25,7 @@ Changelog * #132 Support for `XEP-0280: Message Carbons `_. Configured via `enable_message_carbons `_ [hejazee] * #176 Add support for caching in sessionStorage as opposed to localStorage. [jcbrand] +* #191 No messages history [heban] * #192 Error: xhr_user_search_url is not defined. [jcbrand] 0.7.4 (2014-03-05)