mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-09 09:20:54 +00:00
UBERF-10632: Fix email thread creation date
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
parent
b5da594b5e
commit
cafeb763fb
@ -221,10 +221,11 @@ async function saveMessageToSpaces (
|
||||
archived: false,
|
||||
createdBy: modifiedBy,
|
||||
modifiedBy,
|
||||
parent: channel
|
||||
parent: channel,
|
||||
createdOn: createdDate
|
||||
},
|
||||
generateId(),
|
||||
undefined,
|
||||
createdDate,
|
||||
modifiedBy
|
||||
)
|
||||
await client.createMixin(
|
||||
@ -247,7 +248,8 @@ async function saveMessageToSpaces (
|
||||
modifiedBy,
|
||||
MessageType.Message,
|
||||
{
|
||||
created: createdDate
|
||||
created: createdDate,
|
||||
edited: createdDate
|
||||
}
|
||||
)
|
||||
ctx.info('Created message', { mailId, messageId, threadId })
|
||||
|
Loading…
Reference in New Issue
Block a user