stop join tripping up if last message of buffer is blank.

This commit is contained in:
Dave Conway-Jones
2019-06-01 23:49:27 +01:00
parent 53ab6f8569
commit 2cc19e7e32

View File

@@ -627,7 +627,9 @@ module.exports = function(RED) {
var group = inflight[partId];
if (payloadType === 'buffer') {
inflight[partId].bufferLen += property.length;
if (property !== undefined) {
inflight[partId].bufferLen += property.length;
}
}
if (payloadType === 'object') {
group.payload[propertyKey] = property;