File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
ts/components/menuAndSettingsHooks Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments