mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
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:
@@ -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,
|
||||
|
||||
@@ -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 });
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user