mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
stop join tripping up if last message of buffer is blank.
This commit is contained in:
parent
90887779ea
commit
e346702292
@ -628,8 +628,10 @@ module.exports = function(RED) {
|
|||||||
|
|
||||||
var group = inflight[partId];
|
var group = inflight[partId];
|
||||||
if (payloadType === 'buffer') {
|
if (payloadType === 'buffer') {
|
||||||
|
if (property !== undefined) {
|
||||||
inflight[partId].bufferLen += property.length;
|
inflight[partId].bufferLen += property.length;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (payloadType === 'object') {
|
if (payloadType === 'object') {
|
||||||
group.payload[propertyKey] = property;
|
group.payload[propertyKey] = property;
|
||||||
group.currentCount = Object.keys(group.payload).length;
|
group.currentCount = Object.keys(group.payload).length;
|
||||||
|
Loading…
Reference in New Issue
Block a user