tutao / tutanota

Tuta is an email service with a strong focus on security and privacy that lets you encrypt emails, contacts and calendar entries on all your devices.
https://tuta.com
GNU General Public License v3.0
6.13k stars 528 forks source link

Fix inline image being removed in mail viewer on forward #8035

Open hrb-hub opened 5 days ago

hrb-hub commented 5 days ago

Issue caused by inline images not being replaced after a loadAll call (without notify) which sanitizes mail body. This is due to the replaceInlineImages call being inside a loadCompleteNotification listener.

Fixed by calling loadAll with notify in reply. loadAll is also now only called when necessary.

Related to #6523 Fix #8003