aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/unsubscribe_test.go
Commit message (Collapse)AuthorAgeFilesLines
* lint: apply new formatting rulesMoritz Poldrack2022-08-011-2/+4
| | | | | | | Run `make fmt`. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc>
* 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