Browse Source

fix

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
e3e9c8de46
  1. 1
      api/network/receive.ts
  2. 1
      dist/api/network/receive.js
  3. 2
      dist/api/network/receive.js.map

1
api/network/receive.ts

@ -65,6 +65,7 @@ async function onReceive(payload){
// store media key?
const senderContact = await models.Contact.findOne({where:{publicKey:payload.sender.pub_key}})
sendFinalMemeIfFirstPurchaser(payload, chat, senderContact)
doAction = false // dont store this locally, its for someone else
}
if(doAction) doTheAction({...payload, ...toAddIn})
}

1
dist/api/network/receive.js

@ -80,6 +80,7 @@ function onReceive(payload) {
// store media key?
const senderContact = yield models_1.models.Contact.findOne({ where: { publicKey: payload.sender.pub_key } });
modify_1.sendFinalMemeIfFirstPurchaser(payload, chat, senderContact);
doAction = false; // dont store this locally, its for someone else
}
if (doAction)
doTheAction(Object.assign(Object.assign({}, payload), toAddIn));

2
dist/api/network/receive.js.map

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