Bugfix. First render before fetching msgs. Fixes #191

This commit is contained in:
JC Brand 2014-07-17 17:29:05 +02:00
parent df91f17894
commit 66e45f91e9
2 changed files with 2 additions and 2 deletions

View File

@ -915,8 +915,7 @@
this.updateVCard(); this.updateVCard();
this.$el.insertAfter(converse.chatboxviews.get("controlbox").$el); this.$el.insertAfter(converse.chatboxviews.get("controlbox").$el);
this.model.messages.fetch({add: true}); this.render().model.messages.fetch({add: true});
this.render();
if (this.model.get('minimized')) { if (this.model.get('minimized')) {
this.hide(); this.hide();
} else { } else {

View File

@ -25,6 +25,7 @@ Changelog
* #132 Support for `XEP-0280: Message Carbons <https://xmpp.org/extensions/xep-0280.html'>`_. * #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] 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] * #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] * #192 Error: xhr_user_search_url is not defined. [jcbrand]
0.7.4 (2014-03-05) 0.7.4 (2014-03-05)