Skip to content

Commit

Permalink
Readded WebSocket events (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
f-r00t authored Mar 2, 2024
1 parent 6c7330f commit 126bede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions syncers/huginSyncer.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ module.exports.backgroundSyncMessages = async () => {
encryptedPostExists(txHash).then(result => {
if (result === null) {
saveEncryptedPost(txHash, boxObj)
ws.send(JSON.stringify(boxObj))
}
})
}
Expand All @@ -128,6 +129,7 @@ module.exports.backgroundSyncMessages = async () => {
encryptedGroupPostExists(txHash).then(result => {
if (result === null) {
saveEncryptedGroupPost(txHash, boxObj)
ws.send(JSON.stringify(boxObj))
}
})
}
Expand Down

0 comments on commit 126bede

Please sign in to comment.