Browse Source

fixed

dependabot/npm_and_yarn/ini-1.3.7
Evan Feenstra 4 years ago
parent
commit
b20fafa67f
  1. 2
      dist/src/network/receive.js
  2. 2
      dist/src/network/receive.js.map
  3. 2
      src/network/receive.ts

2
dist/src/network/receive.js

@ -230,7 +230,7 @@ function forwardMessageToTribe(ogpayload, sender, realSatsContactId, amtToForwar
// ASK xref TABLE and put alias there too?
send_1.sendMessage({
type, message,
sender: Object.assign(Object.assign(Object.assign(Object.assign({}, owner.dataValues), { photoUrl: (payload.sender && payload.sender.photo_url) || '' }), payload.sender && payload.sender.alias && { alias: payload.sender.alias }), { role: constants_1.default.chat_roles.reader }),
sender: Object.assign(Object.assign({}, owner.dataValues), { alias: (payload.sender && payload.sender.alias) || '', photoUrl: (payload.sender && payload.sender.photo_url) || '', role: constants_1.default.chat_roles.reader }),
amount: amtToForwardToRealSatsContactId || 0,
chat: chat,
skipPubKey: payload.sender.pub_key,

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

File diff suppressed because one or more lines are too long

2
src/network/receive.ts

@ -213,8 +213,8 @@ async function forwardMessageToTribe(ogpayload, sender, realSatsContactId, amtTo
type, message,
sender: {
...owner.dataValues,
alias: (payload.sender&&payload.sender.alias) || '',
photoUrl: (payload.sender&&payload.sender.photo_url) || '',
...payload.sender&&payload.sender.alias && {alias:payload.sender.alias},
role: constants.chat_roles.reader,
},
amount: amtToForwardToRealSatsContactId||0,

Loading…
Cancel
Save