Add backup support for pinned messages

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
Jamie
2026-01-12 14:04:23 -08:00
committed by GitHub
parent e64ea74e11
commit 8ca20a37ad
25 changed files with 885 additions and 237 deletions

View File

@@ -867,6 +867,10 @@ type ReadableInterface = {
) => ReactionType | undefined;
_getAllReactions: () => Array<ReactionType>;
getMessageByAuthorAciAndSentAt: (
authorAci: AciString,
sentAtTimestamp: number
) => MessageType | null;
getMessageBySender: (options: {
source?: string;
sourceServiceId?: ServiceIdString;
@@ -1016,6 +1020,7 @@ type ReadableInterface = {
getAllMegaphones: () => ReadonlyArray<RemoteMegaphoneType>;
hasMegaphone: (megaphoneId: RemoteMegaphoneId) => boolean;
getAllPinnedMessages: () => ReadonlyArray<PinnedMessage>;
getPinnedMessagesPreloadDataForConversation: (
conversationId: string
) => ReadonlyArray<PinnedMessagePreloadData>;