Commit 66e45f91 authored by JC Brand's avatar JC Brand

Bugfix. First render before fetching msgs. Fixes #191

parent df91f178
......@@ -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 {
......
......@@ -25,6 +25,7 @@ Changelog
* #132 Support for `XEP-0280: Message Carbons <https://xmpp.org/extensions/xep-0280.html'>`_.
Configured via `enable_message_carbons <https://conversejs.org/docs/html/index.html#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)
......
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