|
|
|
@ -247,6 +247,7 @@ class SessionCompositionBoxInner extends React.Component<Props, State> {
|
|
|
|
|
if (this.isURL(pastedText) && !window.getSettingValue('link-preview-setting', false)) {
|
|
|
|
|
const alreadyDisplayedPopup =
|
|
|
|
|
(await getItemById(hasLinkPreviewPopupBeenDisplayed))?.value || false;
|
|
|
|
|
if (!alreadyDisplayedPopup) {
|
|
|
|
|
window.inboxStore?.dispatch(
|
|
|
|
|
updateConfirmModal({
|
|
|
|
|
shouldShowConfirm:
|
|
|
|
@ -264,6 +265,7 @@ class SessionCompositionBoxInner extends React.Component<Props, State> {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|