Using the group story timestamp when adding to the conversation job queue

This commit is contained in:
Alvaro 2022-10-21 18:38:49 -06:00 committed by GitHub
parent e37e3dc82c
commit ba55285c74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 11 deletions

View file

@ -310,7 +310,8 @@ export async function sendStoryMessage(
type: conversationQueueJobEnum.enum.Story,
conversationId,
messageIds: [messageAttributes.id],
timestamp,
// using the group timestamp, which will differ from the 1:1 timestamp
timestamp: messageAttributes.timestamp,
},
async jobToInsert => {
const model = new window.Whisper.Message(messageAttributes);