Browse Source

testing keyexchange

dependabot/npm_and_yarn/ini-1.3.7
Evan Feenstra 4 years ago
parent
commit
67dd0ad695
  1. 4
      dist/src/controllers/contacts.js
  2. 2
      dist/src/controllers/contacts.js.map
  3. 5
      src/controllers/contacts.ts

4
dist/src/controllers/contacts.js

@ -94,6 +94,10 @@ exports.updateContact = (req, res) => __awaiter(void 0, void 0, void 0, function
if (!(contactKeyChanged || aliasChanged || photoChanged)) {
return;
}
console.log('contact.alias', contact.alias);
console.log("attrs['alias']", attrs['alias']);
console.log('===', contact.alias !== attrs['alias']);
return;
// send updated owner info to others!
const contactIds = yield models_1.models.Contact.findAll({ where: { deleted: false } })
.filter(c => c.id !== 1 && c.publicKey).map(c => c.id);

2
dist/src/controllers/contacts.js.map

File diff suppressed because one or more lines are too long

5
src/controllers/contacts.ts

@ -98,6 +98,11 @@ export const updateContact = async (req, res) => {
return
}
console.log('contact.alias',contact.alias)
console.log("attrs['alias']", attrs['alias'])
console.log('===', contact.alias!==attrs['alias'])
return
// send updated owner info to others!
const contactIds = await models.Contact.findAll({where:{deleted:false}})
.filter(c=> c.id!==1 && c.publicKey).map(c=> c.id)

Loading…
Cancel
Save