ignore _msgid when merging full objects

to hand code and close #1423
This commit is contained in:
Dave Conway-Jones
2017-12-05 21:45:43 +00:00
parent 27db727321
commit b98d1216b1
2 changed files with 30 additions and 1 deletions

View File

@@ -441,7 +441,7 @@ module.exports = function(RED) {
}
} else {
for (propertyKey in property) {
if (property.hasOwnProperty(propertyKey)) {
if (property.hasOwnProperty(propertyKey) && propertyKey !== '_msgid') {
group.payload[propertyKey] = property[propertyKey];
}
}