Steps to reproduce
- Open a Draft
- Do nothing (no changes, no modifications)
- Close Draft
Expected behavior
Nothing happens.
Actual behavior
Apparently nothing happens, but the Draft is anyway processed to local copy + move to IMAP even if totally unnecessary. This produce some unpleasant reloading effect in the view.
Mail app version
5.10
Nextcloud version
No response
Mailserver or service
No response
Operating system
No response
PHP engine version
None
Nextcloud memory caching
No response
Web server
None
Database
None
Additional info
The issue mostly lies in NewMessageModal: this.changed is always set to true as a mere effect of initing the body of the draft (in Composer), and this will trigger the whole local copy + move to IMAP process in onClose()
Steps to reproduce
Expected behavior
Nothing happens.
Actual behavior
Apparently nothing happens, but the Draft is anyway processed to local copy + move to IMAP even if totally unnecessary. This produce some unpleasant reloading effect in the view.
Mail app version
5.10
Nextcloud version
No response
Mailserver or service
No response
Operating system
No response
PHP engine version
None
Nextcloud memory caching
No response
Web server
None
Database
None
Additional info
The issue mostly lies in
NewMessageModal:this.changedis always set totrueas a mere effect of initing the body of the draft (inComposer), and this will trigger the whole local copy + move to IMAP process inonClose()