Added checks for undefined

This commit is contained in:
anthony
2023-09-26 16:14:10 -05:00
parent fc107f1552
commit d12b0789aa
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ function validateGeneralMailAddressedTo(data, cb) {
// :TODO: remove hard-coded FTN check here. We need a decent way to register global supported flavors with modules.
const addressedToInfo = getAddressedToInfo(data);
if (Message.AddressFlavor.FTN === addressedToInfo.flavor) {
if (Message.AddressFlavor.Local !== addressedToInfo.flavor) {
return cb(null);
}