diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2023-02-02 19:39:58 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-02-12 00:39:18 +0100 |
commit | 2df3a079a060bb56aaa4d94df066936cb7b73f9d (patch) | |
tree | 4c3bfd7abaf012a6d759976a1d1aff5245f200a2 /commands/msg/recall.go | |
parent | fff5e2f1bbe4e1d2afecada9b69fca0fc7cec424 (diff) | |
download | aerc-2df3a079a060bb56aaa4d94df066936cb7b73f9d.tar.gz |
templates: add initials function
When listing all addresses with names, in for example the To field, one
might end up with a very long string. Add the initials function, which
extracts the names from addresses and then shortens each of them to the
initials of the name.
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/msg/recall.go')
0 files changed, 0 insertions, 0 deletions