Fix call log sync when call isnt latest message

This commit is contained in:
Jamie
2026-06-25 11:59:48 -07:00
committed by GitHub
parent bb958be177
commit 1da25e6ddd
5 changed files with 54 additions and 56 deletions
+4 -5
View File
@@ -1003,6 +1003,10 @@ type ReadableInterface = {
conversationId: string,
eraId: string
) => boolean;
getPrevUnreadCallIdInConversation: (
conversationId: string,
receivedAt: number
) => string | null;
callLinkExists: (roomId: string) => boolean;
defunctCallLinkExists: (roomId: string) => boolean;
getAllCallLinks: () => ReadonlyArray<CallLinkType>;
@@ -1232,11 +1236,6 @@ type WritableInterface = {
readAt?: number;
storyId?: string;
}) => GetUnreadByConversationAndMarkReadResultType;
getUnreadCallMessagesAndMarkRead: (options: {
conversationId: string;
readMessageReceivedAt: number;
activeCallIds: Set<string>;
}) => GetUnreadByConversationAndMarkReadResultType;
getUnreadEditedMessagesAndMarkRead: (options: {
conversationId: string;
readMessageReceivedAt: number;