Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/NewMessageModal.vue12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/NewMessageModal.vue b/src/components/NewMessageModal.vue
index e9961ed62..fef9585a5 100644
--- a/src/components/NewMessageModal.vue
+++ b/src/components/NewMessageModal.vue
@@ -86,16 +86,16 @@ export default {
const now = new Date().getTime()
const dataForServer = {
accountId: data.account,
- sendAt: Math.floor(now / 1000), // JS timestamp is in milliseconds
subject: data.subject,
body: data.isHtml ? data.body.value : toPlain(data.body).value,
isHtml: data.isHtml,
- isMdn: false,
- inReplyToMessageId: '',
to: data.to,
cc: data.cc,
bcc: data.bcc,
attachments: data.attachments,
+ aliasId: null,
+ inReplyToMessageId: null,
+ sendAt: Math.floor(now / 1000), // JS timestamp is in milliseconds
}
// TODO: update the message instead of enqueing another time
const message = await this.$store.dispatch('outbox/enqueueMessage', {
@@ -107,16 +107,16 @@ export default {
const now = new Date().getTime()
const dataForServer = {
accountId: data.account,
- sendAt: Math.floor(now / 1000), // JS timestamp is in milliseconds
subject: data.subject,
body: data.isHtml ? data.body.value : toPlain(data.body).value,
isHtml: data.isHtml,
- isMdn: false,
- inReplyToMessageId: '',
to: data.to,
cc: data.cc,
bcc: data.bcc,
attachments: data.attachments,
+ aliasId: null,
+ inReplyToMessageId: null,
+ sendAt: Math.floor(now / 1000), // JS timestamp is in milliseconds
}
const message = await this.$store.dispatch('outbox/enqueueMessage', {
message: dataForServer,