Disallow paste image when editing
This commit is contained in:
parent
3ec235bc56
commit
4ba3a7856c
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue