[messaging] Removing TO requirement for email import (#3949)

This commit is contained in:
Weiko
2024-02-13 19:19:57 +01:00
committed by GitHub
parent 458e8c839f
commit 87fafae9be

View File

@ -189,7 +189,6 @@ export class FetchMessagesByBatchesService {
} = parsed;
if (!from) throw new Error('From value is missing');
if (!to) throw new Error('To value is missing');
const participants = [
...this.formatAddressObjectAsParticipants(from, 'from'),