Remove backbone as a dependency

Co-authored-by: Yash <yash@signal.org>
Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
Co-authored-by: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com>
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
Scott Nonnenberg
2025-08-12 06:55:29 +10:00
parent 4fc9793cae
commit 237e239e05
69 changed files with 963 additions and 2110 deletions

View File

@@ -104,7 +104,7 @@ export async function onDelete(item: DeleteForMeAttributesType): Promise<void> {
let result: boolean;
if (item.deleteAttachmentData) {
// This will find the message, then work with a backbone model to mirror what
// This will find the message, then work with a model to mirror what
// modifyTargetMessage does.
result = await deleteAttachmentFromMessage(
conversation.id,

View File

@@ -297,7 +297,7 @@ const deleteSentProtoBatcher = createWaitBatcher({
// `deleteSentProtoRecipient` has already updated the database so there
// is no need in calling `updateConversation`
convo.unset('shareMyPhoneNumber');
convo.set({ shareMyPhoneNumber: undefined });
}
},
});