Solution for #1521

This commit is contained in:
the-djmaze 2024-03-26 19:12:50 +01:00
parent b96cb41876
commit f38e5a41cd

View file

@ -508,8 +508,10 @@ export class ComposePopupView extends AbstractViewPopup {
} else {
params.signPassphrase && Passphrases.delete(identity);
this.sendError(true);
this.sendErrorDesc(getNotification(iError, data?.ErrorMessage)
|| getNotification(Notifications.CantSendMessage));
this.sendErrorDesc(
getNotification(iError, data?.ErrorMessage, Notifications.CantSendMessage)
+ "\n" + data?.ErrorMessageAdditional
);
}
} else {
if (arrayLength(this.aDraftInfo) > 0) {