mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
fix xmpp node stanzas from
This commit is contained in:
@@ -101,7 +101,7 @@ module.exports = function(RED) {
|
||||
msg.topic = stanza.attrs.from
|
||||
}
|
||||
else { msg.topic = ids[0]; }
|
||||
if (!node.join && ((node.from === "") || (node.from === from))) {
|
||||
if (!node.join && ((node.from === "") || (node.from === stanza.attrs.from))) {
|
||||
node.send([msg,null]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user