Fixes #1312
This commit is contained in:
parent
476b8041aa
commit
d9093c09ee
@ -2,14 +2,15 @@
|
||||
|
||||
## 4.0.5 (Unreleased)
|
||||
|
||||
- `FATAL: TypeError: Cannot read property 'extend' of undefined` when using `embedded` view mode.
|
||||
- default paths in converse-notifications.js are now relative
|
||||
- Error `FATAL: TypeError: Cannot read property 'extend' of undefined` when using `embedded` view mode.
|
||||
- Default paths in converse-notifications.js are now relative
|
||||
- #1188 Feature request: drag and drop file to HTTP Upload
|
||||
- #1268 Switch from SASS variables to CSS custom properties
|
||||
- #1278 Replace the default avatar with a SVG version
|
||||
- #1033 Setting show_send_button to true didn't work
|
||||
- #1306 added option `notification_delay`
|
||||
- #1305 added value 'all' for 'show_desktop_notifications' to notifiy even if converse.js is open
|
||||
- #1312 Error `unrecognized expression` in Safari
|
||||
|
||||
## 4.0.4 (2018-10-29)
|
||||
|
||||
|
2
dist/converse.js
vendored
2
dist/converse.js
vendored
@ -71331,7 +71331,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_2__["default"].plugins.add('converse-cha
|
||||
'fullname': _.get(_converse.api.contacts.get(contact_jid), 'attributes.fullname') // Get chat box, but only create a new one when the message has a body.
|
||||
|
||||
};
|
||||
const has_body = sizzle(`body, encrypted[xmlns="${Strophe.NS.OMEMO}`).length > 0;
|
||||
const has_body = sizzle(`body, encrypted[xmlns="${Strophe.NS.OMEMO}"]`).length > 0;
|
||||
const chatbox = this.getChatBox(contact_jid, attrs, has_body);
|
||||
|
||||
if (chatbox && !chatbox.handleMessageCorrection(stanza)) {
|
||||
|
@ -730,7 +730,7 @@ converse.plugins.add('converse-chatboxes', {
|
||||
'fullname': _.get(_converse.api.contacts.get(contact_jid), 'attributes.fullname')
|
||||
}
|
||||
// Get chat box, but only create a new one when the message has a body.
|
||||
const has_body = sizzle(`body, encrypted[xmlns="${Strophe.NS.OMEMO}`).length > 0;
|
||||
const has_body = sizzle(`body, encrypted[xmlns="${Strophe.NS.OMEMO}"]`).length > 0;
|
||||
const chatbox = this.getChatBox(contact_jid, attrs, has_body);
|
||||
if (chatbox && !chatbox.handleMessageCorrection(stanza)) {
|
||||
const msgid = stanza.getAttribute('id'),
|
||||
|
Loading…
Reference in New Issue
Block a user