mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-23 18:08:05 +01:00
Add backup support for pinned messages
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user