1
0
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:
Dave Conway-Jones 2019-06-01 23:49:27 +01:00 committed by Nick O'Leary
parent 90887779ea
commit e346702292
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -628,7 +628,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;