possible fix for issue #1185

This commit is contained in:
alan 2018-10-17 12:08:15 +01:00 committed by JC Brand
parent ceb0b82245
commit 45cda8494a
2 changed files with 2 additions and 2 deletions

2
dist/converse.js vendored
View File

@ -75974,7 +75974,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
const id = iq.getAttribute('id');
const from = iq.getAttribute('from');
if (from && from !== _converse.connection.jid) {
if (from && from !== _converse.bare_jid) {
// https://tools.ietf.org/html/rfc6121#page-15
//
// A receiving client MUST ignore the stanza unless it has no 'from'

View File

@ -539,7 +539,7 @@
*/
const id = iq.getAttribute('id');
const from = iq.getAttribute('from');
if (from && from !== _converse.connection.jid) {
if (from && from !== _converse.bare_jid) {
// https://tools.ietf.org/html/rfc6121#page-15
//
// A receiving client MUST ignore the stanza unless it has no 'from'