aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/unsubscribe_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix linter warningsReto Brunner2021-02-261-6/+6
| | | | | | * Remove redundant return (code was never reached) * Remove redundant type information * Rename unused function parameters to "_"
* Add unsubscribe commandBen Burwell2019-07-041-0/+41
The unsubscribe command, available when in a message viewer context, enables users to easily unsubscribe from mailing lists. When the command is executed, aerc looks for a List-Unsubscribe header as defined in RFC 2369. If found, aerc will attempt to present the user with a suitable interface for completing the request. Currently, mailto and http(s) URLs are supported. In the case of a HTTP(S) URL, aerc will open the link in a browser. For mailto links, a new composer tab will be opened with a message filled out according to the URL. The message is not sent automatically in order to provide the user a chance to review it first. Closes #101