Browse Source

fix

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
c2a1103960
  1. 2
      api/utils/msg.ts
  2. 2
      dist/api/utils/msg.js
  3. 2
      dist/api/utils/msg.js.map

2
api/utils/msg.ts

@ -130,7 +130,7 @@ async function decryptMessage(full:{[k:string]:any}, chat) {
}
async function personalizeMessage(m,contact,isTribeOwner:boolean){
const contactId = contact.contactId
const contactId = contact.id
const destkey = contact.publicKey
const cloned = JSON.parse(JSON.stringify(m))

2
dist/api/utils/msg.js

@ -146,7 +146,7 @@ function decryptMessage(full, chat) {
exports.decryptMessage = decryptMessage;
function personalizeMessage(m, contact, isTribeOwner) {
return __awaiter(this, void 0, void 0, function* () {
const contactId = contact.contactId;
const contactId = contact.id;
const destkey = contact.publicKey;
const cloned = JSON.parse(JSON.stringify(m));
console.log('cloned', cloned);

2
dist/api/utils/msg.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save