diff --git a/src/components/Envelope.vue b/src/components/Envelope.vue
index f2a381df03..9f84cf2838 100644
--- a/src/components/Envelope.vue
+++ b/src/components/Envelope.vue
@@ -237,6 +237,16 @@
isImportant ? t('mail', 'Unimportant') : t('mail', 'Important')
}}
+
+
+
+
+ {{ t('mail', 'Reply') }}
+
@@ -721,7 +731,7 @@ export default {
accountId: this.data.accountId,
})
}
- const recipients = buildReplyRecipients(this.envelope, {
+ const recipients = buildReplyRecipients(this.data, {
label: this.account.name,
email: this.account.emailAddress,
})
@@ -1441,6 +1451,17 @@ export default {
}
this.countPossibleAttachements()
},
+
+ onReply(body = '', followUp = false, replySenderOnly = false) {
+ this.mainStore.startComposerSession({
+ reply: {
+ mode: (this.hasMultipleRecipients && !replySenderOnly) ? 'replyAll' : 'reply',
+ data: this.data,
+ smartReply: body,
+ followUp,
+ },
+ })
+ },
},
}