Fixes #275 Custom status message doesn't reset.

This commit is contained in:
JC Brand 2014-11-15 13:28:11 +01:00
parent fdb80e3d2c
commit d007339415
2 changed files with 2 additions and 1 deletions

View File

@ -1416,7 +1416,7 @@
showStatusMessage: function (msg) {
msg = msg || this.model.get('status');
if (msg) {
if (typeof msg === "string") {
this.$el.find('p.user-custom-message').text(msg).attr('title', msg);
}
return this;

View File

@ -19,6 +19,7 @@ Changelog
* #251 Non-minified builds for debugging. [jcbrand]
* #264 Remove unnecessary commas for ie8 compatibility. [Deuteu]
* #267 Unread messages counter wrongly gets incremented by chat state notifications. [Deuteu]
* #275 Custom status message doesn't reset. [jcbrand]
* #278 Unread messages counter doesn't unbind it's events. [Deuteu]
* #279 Handle more field types for MUC config forms. [gbonvehi]
* #280 New config option, ``hide_offline_users`` [gbonvehi]