Skip to content

Commit 3863b16

Browse files
committed
chore: disable attachment delete modal changes until fixed
1 parent 732af10 commit 3863b16

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ts/components/menuAndSettingsHooks/useDeleteMessagesCb.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@ export function useDeleteMessagesCb(conversationId: string | undefined) {
8484
const anyAreControlMessages = msgModels.some(m => m.isControlMessage());
8585
// If it's a single message that has attachment and one of those have been clicked, the title and description is slightly different
8686
const singleDeleteFromAttachment =
87-
msgModels.length === 1 && msgModels[0].hasAttachments() && dataAttachmentIndex !== null;
87+
msgModels.length === 1 &&
88+
msgModels[0].hasAttachments() &&
89+
dataAttachmentIndex !== null &&
90+
// TODO: enable this back once SES-5326 is fixed
91+
false;
8892

8993
// We can technically never delete for everyone if one of the message is
9094
// - a control message

0 commit comments

Comments
 (0)