Disallow paste image when editing

This commit is contained in:
Josh Perez
2023-08-07 18:32:18 -04:00
committed by GitHub
parent 3ec235bc56
commit 4ba3a7856c

View File

@@ -1064,6 +1064,11 @@ function processAttachments({
throw new Error('processAttachments: Unable to find conv'); throw new Error('processAttachments: Unable to find conv');
} }
const draftEditMessage = conversation.get('draftEditMessage');
if (draftEditMessage) {
return;
}
const state = getState(); const state = getState();
const isRecording = const isRecording =
state.audioRecorder.recordingState === RecordingState.Recording; state.audioRecorder.recordingState === RecordingState.Recording;