Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll

pull/1804/head
Audric Ackermann 4 years ago
commit d14807d2ab
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -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> {
);
}
}
}
/**
*

Loading…
Cancel
Save