mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Fix JS runtime error when forwarding e-mails as attachments
This commit is contained in:
parent
ba496919dd
commit
fbd98c95ee
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ export class AppUser extends AbstractApp {
|
||||||
if (1 == arrayLength(msg)) {
|
if (1 == arrayLength(msg)) {
|
||||||
msg = msg[0];
|
msg = msg[0];
|
||||||
}
|
}
|
||||||
if (msg) {
|
if (msg && msg.decrypt) {
|
||||||
msg.decrypt().then((/*success*/)=>showScreenPopup(ComposePopupView, params));
|
msg.decrypt().then((/*success*/)=>showScreenPopup(ComposePopupView, params));
|
||||||
} else {
|
} else {
|
||||||
showScreenPopup(ComposePopupView, params);
|
showScreenPopup(ComposePopupView, params);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue