Browse Source

bool=1

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

2
api/helpers.ts

@ -158,7 +158,7 @@ async function parseReceiveParams(payload) {
chat = await findOrCreateChatByUUID(
chat_uuid, [parseInt(owner.id), parseInt(sender.id)]
)
if(sender.fromGroup===true) { // if a private msg received, update the contact
if(sender.fromGroup) { // if a private msg received, update the contact
await sender.update({fromGroup:false})
}
} else { // group

2
dist/api/helpers.js

@ -171,7 +171,7 @@ function parseReceiveParams(payload) {
if (isConversation) {
sender = yield findOrCreateContactByPubkey(sender_pub_key);
chat = yield findOrCreateChatByUUID(chat_uuid, [parseInt(owner.id), parseInt(sender.id)]);
if (sender.fromGroup === true) { // if a private msg received, update the contact
if (sender.fromGroup) { // if a private msg received, update the contact
yield sender.update({ fromGroup: false });
}
}

2
dist/api/helpers.js.map

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