Fixes #275 Custom status message doesn't reset.
This commit is contained in:
parent
fdb80e3d2c
commit
d007339415
@ -1416,7 +1416,7 @@
|
|||||||
|
|
||||||
showStatusMessage: function (msg) {
|
showStatusMessage: function (msg) {
|
||||||
msg = msg || this.model.get('status');
|
msg = msg || this.model.get('status');
|
||||||
if (msg) {
|
if (typeof msg === "string") {
|
||||||
this.$el.find('p.user-custom-message').text(msg).attr('title', msg);
|
this.$el.find('p.user-custom-message').text(msg).attr('title', msg);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
|
@ -19,6 +19,7 @@ Changelog
|
|||||||
* #251 Non-minified builds for debugging. [jcbrand]
|
* #251 Non-minified builds for debugging. [jcbrand]
|
||||||
* #264 Remove unnecessary commas for ie8 compatibility. [Deuteu]
|
* #264 Remove unnecessary commas for ie8 compatibility. [Deuteu]
|
||||||
* #267 Unread messages counter wrongly gets incremented by chat state notifications. [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]
|
* #278 Unread messages counter doesn't unbind it's events. [Deuteu]
|
||||||
* #279 Handle more field types for MUC config forms. [gbonvehi]
|
* #279 Handle more field types for MUC config forms. [gbonvehi]
|
||||||
* #280 New config option, ``hide_offline_users`` [gbonvehi]
|
* #280 New config option, ``hide_offline_users`` [gbonvehi]
|
||||||
|
Loading…
Reference in New Issue
Block a user