Clear link preview on image paste

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-07-16 20:31:34 +00:00
committed by GitHub
co-authored by Fedor Indutny
parent 17a0bb84b6
commit 42c52684fb
+5 -1
View File
@@ -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 = (