1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #4143 from inNETMonitoring/fix/joinManual

fix: closes #4142
This commit is contained in:
Nick O'Leary 2023-06-21 14:24:53 +01:00 committed by GitHub
commit 2571949e90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -629,6 +629,9 @@ module.exports = function(RED) {
joinChar = node.joiner; joinChar = node.joiner;
if (n.count === "" && msg.hasOwnProperty('parts')) { if (n.count === "" && msg.hasOwnProperty('parts')) {
targetCount = msg.parts.count || 0; targetCount = msg.parts.count || 0;
if (msg.parts.hasOwnProperty('id')) {
partId = msg.parts.id;
}
} }
if (node.build === 'object') { if (node.build === 'object') {
propertyKey = RED.util.getMessageProperty(msg,node.key); propertyKey = RED.util.getMessageProperty(msg,node.key);