Bulletproof getNumberInfo against missing ourNumber

pull/272/head
Scott Nonnenberg 7 years ago
parent 11fdf22881
commit 447a217397

@ -893,6 +893,10 @@
getNumberInfo(options = {}) { getNumberInfo(options = {}) {
const { syncMessage, disableMeCheck } = options; const { syncMessage, disableMeCheck } = options;
if (!this.ourNumber) {
return null;
}
// START: this code has an Expiration date of ~2018/11/21 // START: this code has an Expiration date of ~2018/11/21
// We don't want to enable unidentified delivery for send unless it is // We don't want to enable unidentified delivery for send unless it is
// also enabled for our own account. // also enabled for our own account.

Loading…
Cancel
Save