Support for single-attachment delete synced across devices

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
automated-signal 2024-06-21 18:54:13 -05:00 committed by GitHub
parent 7fd5dd3761
commit 795d47e332
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 422 additions and 55 deletions

View file

@ -1534,6 +1534,10 @@ export default class MessageSender {
deleteForMe.localOnlyConversationDeletes.push({
conversation,
});
} else if (item.type === 'delete-single-attachment') {
throw new Error(
"getDeleteForMeSyncMessage: Desktop currently does not support sending 'delete-single-attachment' messages"
);
} else {
throw missingCaseError(item);
}