mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Fix RFC 9051 IMAP4rev2 keywords and $ReadReceipt should be $MDNSent
This commit is contained in:
parent
eb61563db4
commit
1e61171f9c
6 changed files with 68 additions and 44 deletions
|
|
@ -307,11 +307,19 @@ export class MessageModel extends AbstractModel {
|
|||
hasFlaggedSubMessage: this.hasFlaggedSubMessage()
|
||||
}, (key, value) => value && classes.push(key));
|
||||
this.flags().forEach(value => {
|
||||
'\\' !== value[0] && classes.push('flag-'+value);
|
||||
'\\' !== value[0] && '$forwarded' !== value && classes.push('flag-'+value);
|
||||
});
|
||||
return classes.join(' ');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* https://datatracker.ietf.org/doc/html/rfc5788
|
||||
*/
|
||||
keywords() {
|
||||
return this.flags().filter(value => '\\' !== value[0]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {string}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue