Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix ImportMailState CREATE event not downloading imported mails
After importing mails on the desktop client, those mails are not visible immediately on other devices with offline storage. This is due to the optimization of EntityEvents (CREATE + UPDATE = CREATE). Previously, the mails were only downloaded on ImportMailState UPDATE events in the MailViewModel, which are never processed on the devices not making the import. This led to a corrupted state where the imported mails are never downloaded to the device. This fix ensures that the mails are downloaded and the offline storage is updated properly. Co-authored-by: jhm <[email protected]>
- Loading branch information