Bulletproof getNumberInfo against missing ourNumber

This commit is contained in:
Scott Nonnenberg 2018-11-16 16:14:56 -08:00
parent 11fdf22881
commit 447a217397

View file

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