Bugfix. Message indicator wasn't shown
when we received a message for a yet non-existing chat in singleton mode.
This commit is contained in:
parent
54c6bcd861
commit
734f3469dd
1
dist/converse.js
vendored
1
dist/converse.js
vendored
@ -76550,6 +76550,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
||||
ChatBoxView: {
|
||||
shouldShowOnTextMessage() {
|
||||
if (_.includes(['mobile', 'fullscreen', 'embedded'], this.__super__._converse.view_mode)) {
|
||||
this.model.set('hidden', true);
|
||||
return false;
|
||||
} else {
|
||||
return this.__super__.shouldShowOnTextMessage.apply(this, arguments);
|
||||
|
@ -66,6 +66,7 @@
|
||||
ChatBoxView: {
|
||||
shouldShowOnTextMessage () {
|
||||
if (_.includes(['mobile', 'fullscreen', 'embedded'], this.__super__._converse.view_mode)) {
|
||||
this.model.set('hidden', true);
|
||||
return false;
|
||||
} else {
|
||||
return this.__super__.shouldShowOnTextMessage.apply(this, arguments);
|
||||
|
Loading…
Reference in New Issue
Block a user