diff --git a/lib/extension/publish.js b/lib/extension/publish.js index 0435d9f0..c7cf5500 100644 --- a/lib/extension/publish.js +++ b/lib/extension/publish.js @@ -243,8 +243,9 @@ class EntityPublish extends Extension { if (options.hasOwnProperty('filtered_optimistic')) { options.filtered_optimistic.forEach((a) => delete msg[a]); } - - addToToPublish(resolvedEntity.settings.ID, msg); + if (Object.keys(msg).length != 0) { + addToToPublish(resolvedEntity.settings.ID, msg); + } } if (result && result.membersState && optimistic) {