possible fix for issue #1185
This commit is contained in:
parent
ceb0b82245
commit
45cda8494a
2
dist/converse.js
vendored
2
dist/converse.js
vendored
@ -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'
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user