File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
extension/chrome/elements/compose-modules Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -301,15 +301,17 @@ export class ComposeInputModule extends ViewModule<ComposeView> {
301301 const result : ParsedRecipients = { to : [ ] , cc : [ ] , bcc : [ ] } ;
302302 for ( const recipient of recipients ) {
303303 /* eslint-disable @typescript-eslint/no-non-null-assertion */
304+ // Setting recipient name to empty string as a hotfix - https://github.com/FlowCrypt/enterprise-server/issues/6264
305+ const defaultName = '' ;
304306 switch ( recipient . sendingType ) {
305307 case 'to' :
306- result . to ! . push ( { email : recipient . email , name : recipient . name } ) ;
308+ result . to ! . push ( { email : recipient . email , name : defaultName } ) ;
307309 break ;
308310 case 'cc' :
309- result . cc ! . push ( { email : recipient . email , name : recipient . name } ) ;
311+ result . cc ! . push ( { email : recipient . email , name : defaultName } ) ;
310312 break ;
311313 case 'bcc' :
312- result . bcc ! . push ( { email : recipient . email , name : recipient . name } ) ;
314+ result . bcc ! . push ( { email : recipient . email , name : defaultName } ) ;
313315 break ;
314316 }
315317 /* eslint-enable @typescript-eslint/no-non-null-assertion */
You can’t perform that action at this time.
0 commit comments