mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix TypeError: b64Encode(...).match(...) is null
This commit is contained in:
parent
99b7ec661c
commit
2559c09b23
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ const
|
|||
|
||||
tpl = createElement('template'),
|
||||
|
||||
base64_encode = text => b64Encode(text).match(/.{1,76}/g).join('\r\n'),
|
||||
base64_encode = text => text ? b64Encode(text).match(/.{1,76}/g).join('\r\n') : '',
|
||||
|
||||
getEmail = value => addressparser(value)[0]?.email || false,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue