diff --git a/syncers/huginSyncer.js b/syncers/huginSyncer.js index 1d714aa..9406fa8 100644 --- a/syncers/huginSyncer.js +++ b/syncers/huginSyncer.js @@ -119,6 +119,7 @@ module.exports.backgroundSyncMessages = async () => { encryptedPostExists(txHash).then(result => { if (result === null) { saveEncryptedPost(txHash, boxObj) + boxObj.hash = txHash ws.send(JSON.stringify(boxObj)) } }) @@ -129,6 +130,7 @@ module.exports.backgroundSyncMessages = async () => { encryptedGroupPostExists(txHash).then(result => { if (result === null) { saveEncryptedGroupPost(txHash, boxObj) + boxObj.hash = txHash ws.send(JSON.stringify(boxObj)) } })