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