We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b31eb3 commit bbf6007Copy full SHA for bbf6007
2 files changed
src/comms/isocket-comms.js
@@ -108,7 +108,7 @@ class ISocketComms extends EventEmitter {
108
const replyObj = JSON.parse(reply.data)
109
110
if(replyObj.enc && replyObj.sig){
111
- let msg = new Message()
+ let msg = new Message({})
112
msg.fromJSON(replyObj)
113
114
let content = await msg.decrypt(this.party.privateIdentity())
src/service/middleware/pre/decrypt.js
@@ -38,7 +38,7 @@ module.exports = class Decrypt extends IMiddleware {
38
context.debug('input', context.input, typeof context.input)
39
40
41
- const msg = new Message()
+ const msg = new Message({})
42
msg.fromJSON(context.input)
43
context.debug('privateIdentity', context.party.privateIdentity.id)
44
0 commit comments