Delete Sync: Handle and send mostRecentNonExpiringMessages if needed

This commit is contained in:
Scott Nonnenberg 2024-06-24 10:49:36 -07:00 committed by GitHub
parent 9c0ea4d6ec
commit 08da49a0aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 356 additions and 46 deletions

View file

@ -518,6 +518,7 @@ export const deleteConversationSchema = z.object({
type: z.literal('delete-conversation').readonly(),
conversation: conversationToDeleteSchema,
mostRecentMessages: z.array(messageToDeleteSchema),
mostRecentNonExpiringMessages: z.array(messageToDeleteSchema).optional(),
isFullDelete: z.boolean(),
timestamp: z.number(),
});