Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | commands/envelope: refactor deriving headers to be edited | Anton Khirnov | 2021-11-20 |
| | | | | | | | | | Split the code into its own function. Make it properly case-insensitive. Apply either the blacklist or the whitelist setting, trying to apply both makes no sense. Enforce that either a blacklist or a whitelist is configured in the settings. | ||
* | commands/envelope: keep editable headers order | pacien | 2019-11-23 |
Use the ordered set of header keys from the settings or from the current envelope when generating an editable envelope. Fixes https://github.com/pazz/alot/issues/898: Message header ordering isn't preserved from the editor Note: collections.OrderedDict has been used for backward compatibility with Python <3.7. |