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

@@ -116,7 +116,10 @@ export async function onPinnedMessageAdd(
if (result.change?.inserted) {
await targetConversation.addNotification('pinned-message-notification', {
pinnedMessageId: targetMessage.id,
pinMessage: {
targetSentTimestamp: props.targetSentTimestamp,
targetAuthorAci: props.targetAuthorAci,
},
sourceServiceId: props.pinnedByAci,
});
}