Bugfix. Don't create occupants without nick/JID
This commit is contained in:
parent
09bb6b494d
commit
2f2b2ceaf2
2
dist/converse.js
vendored
2
dist/converse.js
vendored
@ -70817,7 +70817,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
||||
*/
|
||||
const data = this.parsePresence(pres);
|
||||
|
||||
if (data.type === 'error') {
|
||||
if (data.type === 'error' || !data.jid && !data.nick) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -806,7 +806,7 @@
|
||||
* (XMLElement) pres: The presence stanza
|
||||
*/
|
||||
const data = this.parsePresence(pres);
|
||||
if (data.type === 'error') {
|
||||
if (data.type === 'error' || (!data.jid && !data.nick)) {
|
||||
return true;
|
||||
}
|
||||
const occupant = this.occupants.findOccupant(data);
|
||||
|
Loading…
Reference in New Issue
Block a user