mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 02:48:49 +03:00
Merge pull request #1981 from HeySora/fix-js-runtime-error
Fix JS runtime error when forwarding e-mails as attachments
This commit is contained in:
commit
12cce0ace4
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ export class AppUser extends AbstractApp {
|
|||
if (1 == arrayLength(msg)) {
|
||||
msg = msg[0];
|
||||
}
|
||||
if (msg) {
|
||||
if (msg && msg.decrypt) {
|
||||
msg.decrypt().then((/*success*/)=>showScreenPopup(ComposePopupView, params));
|
||||
} else {
|
||||
showScreenPopup(ComposePopupView, params);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue