mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-08-13 08:22:26 +01:00
Clear link preview on image paste
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
co-authored by
Fedor Indutny
parent
17a0bb84b6
commit
42c52684fb
@@ -1231,10 +1231,14 @@ function processAttachments({
|
||||
|
||||
const { audioRecorder } = getState();
|
||||
|
||||
if (hasLinkPreviewLoaded() || getIsRecording(audioRecorder)) {
|
||||
if (getIsRecording(audioRecorder)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (hasLinkPreviewLoaded()) {
|
||||
removeLinkPreview(conversationId);
|
||||
}
|
||||
|
||||
let toastToShow: AnyToast | undefined;
|
||||
|
||||
const nextDraftAttachments = (
|
||||
|
||||
Reference in New Issue
Block a user