Merge pull request #835 from Mail-0/images-on-by-default

This commit is contained in:
Ahmet Kilinc
2025-05-02 19:46:29 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ export function MailIframe({ html, senderEmail }: { html: string; senderEmail: s
[settings, senderEmail],
);
const [cspViolation, setCspViolation] = useState(false);
const [imagesEnabled, setImagesEnabled] = useState(false);
const [imagesEnabled, setImagesEnabled] = useState(settings?.externalImages || true);
const iframeRef = useRef<HTMLIFrameElement>(null);
const [height, setHeight] = useState(0);
const { resolvedTheme } = useTheme();

View File

@@ -4,7 +4,7 @@ export const defaultUserSettings = {
language: 'en',
timezone: 'UTC',
dynamicContent: false,
externalImages: false,
externalImages: true,
customPrompt: '',
trustedSenders: [],
isOnboarded: false,