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
53ab6f8569
commit
2cc19e7e32
@ -627,8 +627,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 = (group.currentCount || 0) + 1;
|
group.currentCount = (group.currentCount || 0) + 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user