Use correct timestamp for receipts of edited messages

This commit is contained in:
Fedor Indutny 2023-05-16 10:37:12 -07:00 committed by GitHub
parent 8fe0047822
commit 5869717cd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 156 additions and 52 deletions

View file

@ -389,7 +389,7 @@ export type FTSOptimizationStateType = Readonly<{
}>;
export type EditedMessageType = Readonly<{
fromId: string;
conversationId: string;
messageId: string;
sentAt: number;
readStatus: MessageType['readStatus'];
@ -523,7 +523,7 @@ export type DataInterface = {
storyId?: string;
}) => Promise<GetUnreadByConversationAndMarkReadResultType>;
getUnreadEditedMessagesAndMarkRead: (options: {
fromId: string;
conversationId: string;
newestUnreadAt: number;
}) => Promise<GetUnreadByConversationAndMarkReadResultType>;
getUnreadReactionsAndMarkRead: (options: {