Passive UUID fixes

This commit is contained in:
Ken Powers 2020-03-20 15:01:15 -04:00 committed by Scott Nonnenberg
parent e7a01f8270
commit 37ad95af27
9 changed files with 80 additions and 40 deletions

View file

@ -1229,7 +1229,7 @@
).map(contact => {
const error = new Error('Network is not available');
error.name = 'SendMessageNetworkError';
error.number = contact.get('uuid') || contact.get('e164');
error.identifier = contact.get('uuid') || contact.get('e164');
return error;
});
await message.saveErrors(errors);